More config & more testing

This commit is contained in:
Tibo De Peuter 2022-10-26 14:49:19 +02:00
parent 06d90454e9
commit c82fd4dbaa
21 changed files with 263 additions and 18 deletions

View file

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