This commit is contained in:
Tibo De Peuter 2022-10-26 15:00:54 +02:00
parent cbca80a673
commit 1f5c9b18a7
18 changed files with 15 additions and 23 deletions

View file

@ -6,11 +6,11 @@ post_install() {
}
post_upgrade() {
cd /usr/share/tdpeuter/arch-pkgs/
git pull
cd /usr/share/tdpeuter/arch-pkgs/ && git pull
user=$(who | cut -f1 -d' ')
packages=$(ls ./stow)
stow -d ./stow -t "/home/${user}" $(ls ./stow)
stow -d ./stow -t "/home/${user}" ${packages}
}