mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-28 10:20:07 +00:00
13 lines
276 B
Plaintext
Executable File
13 lines
276 B
Plaintext
Executable File
# 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
|