summaryrefslogtreecommitdiff
path: root/repo/polkit/polkit-common.pre-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'repo/polkit/polkit-common.pre-upgrade')
-rw-r--r--repo/polkit/polkit-common.pre-upgrade6
1 files changed, 6 insertions, 0 deletions
diff --git a/repo/polkit/polkit-common.pre-upgrade b/repo/polkit/polkit-common.pre-upgrade
new file mode 100644
index 0000000..7c4e3ef
--- /dev/null
+++ b/repo/polkit/polkit-common.pre-upgrade
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S polkitd 2>/dev/null
+adduser -S -D -H -h /var/empty -s /sbin/nologin -G polkitd -g polkitd polkitd 2>/dev/null
+
+exit 0