summarylogtreecommitdiffstats
path: root/systemd-tmpfiles.hook
diff options
context:
space:
mode:
Diffstat (limited to 'systemd-tmpfiles.hook')
-rw-r--r--systemd-tmpfiles.hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd-tmpfiles.hook b/systemd-tmpfiles.hook
index 18cdd9180d71..06554cde557e 100644
--- a/systemd-tmpfiles.hook
+++ b/systemd-tmpfiles.hook
@@ -7,5 +7,5 @@ Target = usr/lib/tmpfiles.d/*.conf
[Action]
Description = Creating temporary files...
When = PostTransaction
-Exec = /bin/sh -c 'while read -r f; do /usr/bin/systemd-tmpfiles --create "$(basename "$f")"; done'
+Exec = /usr/share/libalpm/scripts/systemd-hook tmpfiles
NeedsTargets