summaryrefslogtreecommitdiff
path: root/libre/notsystemd/systemd-tmpfiles.hook
diff options
context:
space:
mode:
Diffstat (limited to 'libre/notsystemd/systemd-tmpfiles.hook')
-rw-r--r--libre/notsystemd/systemd-tmpfiles.hook3
1 files changed, 1 insertions, 2 deletions
diff --git a/libre/notsystemd/systemd-tmpfiles.hook b/libre/notsystemd/systemd-tmpfiles.hook
index 18cdd9180..df60d8275 100644
--- a/libre/notsystemd/systemd-tmpfiles.hook
+++ b/libre/notsystemd/systemd-tmpfiles.hook
@@ -7,5 +7,4 @@ 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'
-NeedsTargets
+Exec = /usr/share/libalpm/scripts/systemd-hook tmpfiles