1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/games/quakeserver/pkg-install
Pete Fritchman 3f98498439 - don't display the port readme when installing
- remove unused configure script
- add missing pkg-install script
- add line to pkg-plist to remove the 'quakerun' user on deinstall

PR:		38733
Submitted by:	Martin Perry <martin@raq.cx>
2002-05-31 21:30:55 +00:00

12 lines
223 B
Bash

#!/bin/sh
case "$2" in
PRE-INSTALL)
if ! pw user show quakerun >/dev/null 2>&1
then
echo "===> Creating user quakerun"
pw add user quakerun -s /sbin/nologin -c "QuakeServer User" -d /nonexistent
fi
;;
esac