PKGBUILDs/core/systemd/systemd-sysusers.hook
2017-08-16 12:08:03 +00:00

11 lines
282 B
Text

[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Target = usr/lib/sysusers.d/*.conf
[Action]
Description = Updating system user accounts...
When = PostTransaction
Exec = /bin/sh -c 'while read -r f; do /usr/bin/systemd-sysusers "$(basename "$f")" ; done'
NeedsTargets