Fix postinst hook in debian package
This commit is contained in:
parent
dc34c980f6
commit
5c2a112b0f
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
Loading…
Reference in a new issue