Fix postinst hook in debian package

This commit is contained in:
silverpill 2022-05-11 16:17:17 +00:00
parent dc34c980f6
commit 5c2a112b0f

View file

@ -4,7 +4,9 @@ set -e
case "$1" in
configure)
adduser --system --group --home /var/lib/mitra mitra
if ! getent passwd mitra > /dev/null; then
adduser --system --group --home /var/lib/mitra mitra
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)