From: Ian Jackson Date: Sun, 25 Sep 2022 16:24:48 +0000 (+0100) Subject: packaging: move #DEBHELPER# to before we umask, just in case X-Git-Tag: hippotat/1.0.0~34 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=7496817640503058180e40829985a162b17ae66f;p=hippotat.git packaging: move #DEBHELPER# to before we umask, just in case Signed-off-by: Ian Jackson --- diff --git a/debian/hippotat-common.postinst b/debian/hippotat-common.postinst index c7d2bb0..96768d9 100644 --- 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#