diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-07-27 20:11:16 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-07-27 20:16:56 -0400 |
commit | f635764077b2b695681e4d098a0489c2a3ff390a (patch) | |
tree | 64af052768c81bdc66d65c21942cb4cbfeaeb710 /pcr/opentmpfiles/opentmpfiles.hook | |
parent | 84bc4cc27729588dae0bf8d69318eb43710a8c99 (diff) | |
download | abslibre-f635764077b2b695681e4d098a0489c2a3ff390a.tar.gz abslibre-f635764077b2b695681e4d098a0489c2a3ff390a.tar.bz2 abslibre-f635764077b2b695681e4d098a0489c2a3ff390a.zip |
pcr/opentmpfiles: Split off opentmpfiles-systemdcompat, improve
- Remove pointless boilerplate
- Use git signed tag
- Don't include the "systemd-tmpfiles" program in the main package, as to
not conflict with notsystemd.
- Add a pacman hook similar to systemd
Diffstat (limited to 'pcr/opentmpfiles/opentmpfiles.hook')
-rw-r--r-- | pcr/opentmpfiles/opentmpfiles.hook | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pcr/opentmpfiles/opentmpfiles.hook b/pcr/opentmpfiles/opentmpfiles.hook new file mode 100644 index 000000000..8fd7e9a9b --- /dev/null +++ b/pcr/opentmpfiles/opentmpfiles.hook @@ -0,0 +1,10 @@ +[Trigger] +Type = File +Operation = Install +Operation = Upgrade +Target = usr/lib/tmpfiles.d/*.conf + +[Action] +Description = Creating temporary files... +When = PostTransaction +Exec = /usr/bin/systemd-tmpfiles --create |