#!/bin/sh # preinst script for emi-registry # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `install' # * `install' # * `upgrade' # * `abort-upgrade' # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in install|upgrade) /usr/sbin/groupadd -r emi 2>/dev/null || : /usr/sbin/useradd -c "EMI" -g emi \ -s /bin/false -r -d /usr/share/emi emi 2>/dev/null || : ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. exit 0