fixes-package/fixes-package.install

21 lines
858 B
Plaintext
Raw Normal View History

2022-09-15 23:14:20 +00:00
post_install() {
2022-09-18 13:41:08 +00:00
systemctl --global daemon-reload
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global enable
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global start
2022-09-18 12:30:43 +00:00
}
post_upgrade() {
2022-09-18 13:41:08 +00:00
systemctl --global daemon-reload
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global enable
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global restart
2022-09-15 23:14:20 +00:00
}
2022-09-18 13:41:08 +00:00
pre_remove() {
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global stop
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global disable
}
post_remove() {
systemctl --global daemon-reload
}