summaryrefslogtreecommitdiff
path: root/user/polkit/polkit.pre-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'user/polkit/polkit.pre-upgrade')
-rw-r--r--user/polkit/polkit.pre-upgrade5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/polkit/polkit.pre-upgrade b/user/polkit/polkit.pre-upgrade
new file mode 100644
index 000000000..816f89236
--- /dev/null
+++ b/user/polkit/polkit.pre-upgrade
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+useradd -r -s /sbin/nologin -d /usr/lib/polkit-1 -M -U polkitd 2>/dev/null
+
+exit 0