From 1795e1d6f84d15ae2686f1238d5fd4b5f8b6b550 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 17 Jun 2017 22:46:41 -0400 Subject: add libre/notsystemd --- libre/notsystemd/systemd-tmpfiles.hook | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libre/notsystemd/systemd-tmpfiles.hook (limited to 'libre/notsystemd/systemd-tmpfiles.hook') diff --git a/libre/notsystemd/systemd-tmpfiles.hook b/libre/notsystemd/systemd-tmpfiles.hook new file mode 100644 index 000000000..a2c5e3ef0 --- /dev/null +++ b/libre/notsystemd/systemd-tmpfiles.hook @@ -0,0 +1,11 @@ +[Trigger] +Type = File +Operation = Install +Operation = Upgrade +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' +NeedsTargets -- cgit v1.2.3