summaryrefslogtreecommitdiff
path: root/libre/notsystemd/systemd-tmpfiles.hook
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-09-15 14:14:29 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-09-15 14:16:12 -0400
commit05f713b0bf9baccb6dfba9084a886ef5e1247965 (patch)
tree2cc933ca3453384b9c9c4f6966dc83c50ca578cf /libre/notsystemd/systemd-tmpfiles.hook
parentd2f5d9e1582f668f49d0570eecac76f78043fe45 (diff)
downloadabslibre-05f713b0bf9baccb6dfba9084a886ef5e1247965.tar.gz
abslibre-05f713b0bf9baccb6dfba9084a886ef5e1247965.tar.bz2
abslibre-05f713b0bf9baccb6dfba9084a886ef5e1247965.zip
libre/notsystemd: update to 234.1
Diffstat (limited to 'libre/notsystemd/systemd-tmpfiles.hook')
-rw-r--r--libre/notsystemd/systemd-tmpfiles.hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/libre/notsystemd/systemd-tmpfiles.hook b/libre/notsystemd/systemd-tmpfiles.hook
index a2c5e3ef0..18cdd9180 100644
--- a/libre/notsystemd/systemd-tmpfiles.hook
+++ b/libre/notsystemd/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 "/$f"; done'
+Exec = /bin/sh -c 'while read -r f; do /usr/bin/systemd-tmpfiles --create "$(basename "$f")"; done'
NeedsTargets