fedimovies/contrib/debian/postinst
2022-05-11 16:37:42 +00:00

27 lines
463 B
Bash

#!/bin/sh
set -e
case "$1" in
configure)
if ! getent passwd mitra > /dev/null; then
adduser --system --group --home /var/lib/mitra mitra
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0