fixes-package/fixes-package.install

15 lines
565 B
Plaintext
Raw Normal View History

2022-09-18 15:29:15 +00:00
post_install() {
2022-09-15 23:14:20 +00:00
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global enable
2022-09-18 15:29:15 +00:00
echo "Warning: A restart is required to take effect"
}
post_upgrade() {
2022-09-15 23:14:20 +00:00
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global enable
2022-09-18 15:29:15 +00:00
echo "Warning: A restart is required to take effect"
}
pre_remove() {
2022-09-15 23:14:20 +00:00
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global disable
2022-09-18 15:29:15 +00:00
echo "Warning: A restart is required to take effect"
}