use xargs to enable systemd timers

This commit is contained in:
Roma 2022-09-16 02:39:00 +02:00
parent 8770d45219
commit 8bc101bdbc

View File

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