chiark
/
gitweb
/
~ian
/
hippotat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
packaging: move #DEBHELPER# to before we umask, just in case
[hippotat.git]
/
debian
/
hippotat-common.postinst
diff --git
a/debian/hippotat-common.postinst
b/debian/hippotat-common.postinst
index c7d2bb071847d4116453860e573606905270e944..96768d94b9e5f91cd99d54a1816e181de32c80e1 100644
(file)
--- a/
debian/hippotat-common.postinst
+++ b/
debian/hippotat-common.postinst
@@
-1,6
+1,8
@@
#!/bin/sh
set -e
+#DEBHELPER#
+
adduser --system --group --force-badname --shell=/bin/bash \
--quiet --home /etc/hippotat _hippotat
@@
-9,5
+11,3
@@
umask 077
pd=/etc/hippotat/secrets.d
test -d $pd || \
install -m 750 -o root -g Debian-hippotat -d $pd
-
-#DEBHELPER#