use xargs to enable systemd timers

This commit is contained in:
Roma 2022-09-16 02:39:00 +02:00
parent 3f141fce70
commit aefb975642
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
post_install() {
find /usr/lib/systemd/system/ -name "fix-*.timer" -type^C -print0 | xargs -0 systemctl enable
find /usr/lib/systemd/system/ -name "fix-*.timer" -type f -print0 | xargs -0 systemctl enable
}