diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2002-05-31 21:30:55 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2002-05-31 21:30:55 +0000 |
commit | 3f98498439d0a6f3d41bc8cf8386071a887b264a (patch) | |
tree | 7563e1f36345938eb8f32994f54c350168e6080b /games/quakeserver/pkg-install | |
parent | Add waimea 0.3.2, an X11 window manager designed for maximum (diff) |
- 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>
Notes
Notes:
svn path=/head/; revision=60410
Diffstat (limited to 'games/quakeserver/pkg-install')
-rw-r--r-- | games/quakeserver/pkg-install | 11 |
1 files changed, 11 insertions, 0 deletions
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 |