2022-10-26 12:49:01 +02:00
|
|
|
post_install() {
|
2022-10-26 13:48:16 +02:00
|
|
|
# Initiate the stow repo
|
2022-10-26 14:49:19 +02:00
|
|
|
git clone --depth 1 --progress https://git.depeuter.tk/tdpeuter/arch-pkgs /usr/share/tdpeuter/arch-pkgs.git
|
2022-10-26 13:48:16 +02:00
|
|
|
|
2022-10-26 12:49:01 +02:00
|
|
|
post_upgrade
|
|
|
|
}
|
|
|
|
|
|
|
|
post_upgrade() {
|
2022-10-26 14:49:19 +02:00
|
|
|
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
|
2022-10-26 12:49:01 +02:00
|
|
|
}
|
2022-10-26 13:48:16 +02:00
|
|
|
|