fedimovies/contrib/debian/postinst

27 lines
463 B
Text
Raw Normal View History

#!/bin/sh
set -e
case "$1" in
configure)
2022-05-11 16:17:17 +00:00
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