summaryrefslogtreecommitdiffstats
path: root/autoscripts/postinst-sysusers
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--autoscripts/postinst-sysusers3
1 files changed, 3 insertions, 0 deletions
diff --git a/autoscripts/postinst-sysusers b/autoscripts/postinst-sysusers
new file mode 100644
index 0000000..fdd27d6
--- /dev/null
+++ b/autoscripts/postinst-sysusers
@@ -0,0 +1,3 @@
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
+ systemd-sysusers ${DPKG_ROOT:+--root="$DPKG_ROOT"} #CONFILE_BASENAME#
+fi