summaryrefslogtreecommitdiff
path: root/nonsystemd/opensysusers/20-opensysusers.hook
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd/opensysusers/20-opensysusers.hook')
-rw-r--r--nonsystemd/opensysusers/20-opensysusers.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/nonsystemd/opensysusers/20-opensysusers.hook b/nonsystemd/opensysusers/20-opensysusers.hook
new file mode 100644
index 000000000..f4e0839a5
--- /dev/null
+++ b/nonsystemd/opensysusers/20-opensysusers.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = usr/lib/sysusers.d/*.conf
+
+[Action]
+Description = Creating system user accounts...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/sysusers-hook sysusers
+NeedsTargets