# package install script action=$1 newversion=$2 oldversion=$3 case $action in pre-install) getent group apache >/dev/null || groupadd -g 25 apache getent passwd apache >/dev/null || useradd -c "Apache Server" -d /srv/www -g apache -s /bin/false -u 25 apache ;; esac