use xargs to enable systemd timers

This commit is contained in:
Roma 2022-09-16 02:39:00 +02:00
parent 9a62cf6bf1
commit 5e22263904

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
} }