freebsd-ports/games/quakeserver/pkg-install

12 lines
223 B
Text
Raw Normal View History

#!/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