From 7496817640503058180e40829985a162b17ae66f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 25 Sep 2022 17:24:48 +0100 Subject: [PATCH] packaging: move #DEBHELPER# to before we umask, just in case Signed-off-by: Ian Jackson --- debian/hippotat-common.postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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# -- 2.30.2