Check if any packages need updating before attempting
This commit is contained in:
parent
9c1dd1ce27
commit
d2c5ba1d1e
2
Makefile
2
Makefile
|
@ -21,7 +21,7 @@ install: config packages
|
||||||
config: $(CONFIG_TARGETS) zsh ssh nvim
|
config: $(CONFIG_TARGETS) zsh ssh nvim
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
sudo pacman --needed -S - < pkglist.txt
|
pacman -T - < pkglist.txt || sudo pacman --needed -S - < pkglist.txt
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
for link in $(CONFIG_TARGETS); do rm "$$link"; done
|
for link in $(CONFIG_TARGETS); do rm "$$link"; done
|
||||||
|
|
Loading…
Reference in a new issue