mirror of
https://github.com/outbackdingo/ports.git
synced 2026-02-13 05:50:36 +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 lpadmin >/dev/null || groupadd -g 19 lpadmin
|
|
getent passwd lp >/dev/null || useradd -c "Print Service User" -d /var/spool/cups -g lp -s /bin/false -u 9 lp
|
|
;;
|
|
esac
|