summaryrefslogtreecommitdiff
path: root/libre-testing/systemd/30-systemd-update.hook
diff options
context:
space:
mode:
Diffstat (limited to 'libre-testing/systemd/30-systemd-update.hook')
-rw-r--r--libre-testing/systemd/30-systemd-update.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre-testing/systemd/30-systemd-update.hook b/libre-testing/systemd/30-systemd-update.hook
new file mode 100644
index 000000000..f95d9dcc3
--- /dev/null
+++ b/libre-testing/systemd/30-systemd-update.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/
+
+[Action]
+Description = Arming ConditionNeedsUpdate...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/systemd-hook update