summaryrefslogtreecommitdiffstats
path: root/debian/apt.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/apt.postinst')
-rwxr-xr-xdebian/apt.postinst10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/apt.postinst b/debian/apt.postinst
new file mode 100755
index 0000000..837b46b
--- /dev/null
+++ b/debian/apt.postinst
@@ -0,0 +1,10 @@
+#! /bin/sh
+set -e
+
+if [ "$1" = 'configure' ]; then
+ # add unprivileged user for the apt methods
+ adduser --force-badname --system --home /nonexistent \
+ --no-create-home --quiet _apt || true
+fi
+
+#DEBHELPER#