source packages attempt to auto-clone
This commit is contained in:
parent
d40b969f5e
commit
fc176298a1
16
Makefile
16
Makefile
|
@ -1,9 +1,21 @@
|
|||
install: apt bin templates man completion files efingerd menu postfix updatemotd
|
||||
.PHONY: apt bin templates man completion files efingerd menu postfix updatemotd
|
||||
install: apt bin templates man completion files efingerd menu postfix updatemotd source
|
||||
.PHONY: apt bin templates man completion files efingerd menu postfix updatemotd source
|
||||
|
||||
apt:
|
||||
xargs -a pkglist sudo apt install -y
|
||||
|
||||
source:
|
||||
@while IFS= read -r line; do \
|
||||
name=$$(printf "%s" "$$line" | awk -F "\t" '{print $$1}'); \
|
||||
repo=$$(printf "%s" "$$line" | awk -F "\t" '{print $$2}'); \
|
||||
if [ ! -d "/var/packages/$${name}" ]; then \
|
||||
mkdir -p "/var/packages/$${name}"; \
|
||||
git clone "$$repo" "/var/packages/$${name}"; \
|
||||
else \
|
||||
printf "%s already cloned\\n" "$${name}"; \
|
||||
fi; \
|
||||
done < "pkglist-source"
|
||||
|
||||
bin:
|
||||
stow -t "/usr/local/bin" bin
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
burrow (https://github.com/jamestomasino/burrow.git)
|
||||
fellowsh (git://circumlunar.space/fellowsh)
|
||||
gophernicus (https://github.com/kimholviala/gophernicus.git)
|
||||
pb (https://tildegit.org/tomasino/pb.git)
|
||||
burrow https://github.com/jamestomasino/burrow.git
|
||||
fellowsh git://circumlunar.space/fellowsh
|
||||
gophernicus https://github.com/kimholviala/gophernicus.git
|
||||
pb https://tildegit.org/tomasino/pb.git
|
||||
|
|
Loading…
Reference in New Issue