From 3f98498439d0a6f3d41bc8cf8386071a887b264a Mon Sep 17 00:00:00 2001 From: Pete Fritchman Date: Fri, 31 May 2002 21:30:55 +0000 Subject: - 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 --- games/quakeserver/pkg-install | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 games/quakeserver/pkg-install (limited to 'games/quakeserver/pkg-install') diff --git a/games/quakeserver/pkg-install b/games/quakeserver/pkg-install new file mode 100644 index 000000000000..fa62938f7ca1 --- /dev/null +++ b/games/quakeserver/pkg-install @@ -0,0 +1,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 -- cgit v1.2.3