use only filenames for post scripts
This commit is contained in:
parent
3b6e886667
commit
be2b24d26d
|
@ -1,9 +1,9 @@
|
||||||
post_install() {
|
post_install() {
|
||||||
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -print0 | xargs -0 systemctl --user enable
|
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --user enable
|
||||||
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -print0 | xargs -0 systemctl --user start
|
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --user start
|
||||||
}
|
}
|
||||||
|
|
||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -print0 | xargs -0 systemctl --user enable
|
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --user enable
|
||||||
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -print0 | xargs -0 systemctl --user restart
|
find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --user restart
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user