summaryrefslogtreecommitdiff
path: root/games/quakeserver/pkg-install
blob: fa62938f7ca1b176563d8956dec880391eb1918c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/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