This commit is contained in:
Tibo De Peuter 2022-10-26 13:48:16 +02:00
parent 535e48912a
commit b85d29cae3
29 changed files with 37 additions and 43 deletions

View file

@ -1,11 +1,12 @@
post_install() {
# Initiate the stow repo
git clone --depth 1 --progress https://git.depeuter.tk/tdpeuter/arch-pkgs /usr/share/tdpeuter/arch-pkgs
post_upgrade
}
post_upgrade() {
user=$(who | cut -f1 -d' ')
git clone https://git.depeuter.tk/tdpeuter/arch-pkgs/ /usr/share/tdpeuter/sisyphus
ln -s /usr/share/tdpeuter/sisyphus/config/* ${user}/
git pull /usr/share/tdpeuter/arch-pkgs
stow -d /usr/share/tdpeuter/arch-pkgs -t ~/
}