chiark / gitweb /
packaging: create the user
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 8 Apr 2017 18:53:57 +0000 (19:53 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 8 Apr 2017 18:53:57 +0000 (19:53 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/hippotat.postinst [new file with mode: 0644]

diff --git a/debian/hippotat.postinst b/debian/hippotat.postinst
new file mode 100644 (file)
index 0000000..a223771
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+#DEBHELPER#
+mkdir -p -m700 /etc/hippotat
+adduser --system --group --force-badname --shell=/bin/bash \
+       --home /etc/hippotat Debian-hippotat