add systemd services to run fixes
This commit is contained in:
14
fixes-package.install
Normal file
14
fixes-package.install
Normal file
@ -0,0 +1,14 @@
|
||||
post_install() {
|
||||
find /usr/lib/systemd/user/ -name "fix-*.service" -type f -printf "%f\0" | xargs -0 systemctl --global enable
|
||||
echo "Warning: A restart is required to take effect"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
find /usr/lib/systemd/user/ -name "fix-*.service" -type f -printf "%f\0" | xargs -0 systemctl --global enable
|
||||
echo "Warning: A restart is required to take effect"
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
find /usr/lib/systemd/user/ -name "fix-*.service" -type f -printf "%f\0" | xargs -0 systemctl --global disable
|
||||
echo "Warning: A restart is required to take effect"
|
||||
}
|
Reference in New Issue
Block a user