aboutsummaryrefslogtreecommitdiff
path: root/games/conquest/pkg-install
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2011-06-12 13:15:25 +0000
committerChris Rees <crees@FreeBSD.org>2011-06-12 13:15:25 +0000
commit67deac6bb986d8656c02e0498265d1a849517314 (patch)
treeeda463325dc33aff7d8b5036cfd7aac0dc3c06dd /games/conquest/pkg-install
parent487d52a9bdb0eb30e3c6d638fec13f9d4687c79c (diff)
downloadports-67deac6bb986d8656c02e0498265d1a849517314.tar.gz
ports-67deac6bb986d8656c02e0498265d1a849517314.zip
Notes
Diffstat (limited to 'games/conquest/pkg-install')
-rw-r--r--games/conquest/pkg-install14
1 files changed, 0 insertions, 14 deletions
diff --git a/games/conquest/pkg-install b/games/conquest/pkg-install
index 2df17c83720d..26f77ef404cb 100644
--- a/games/conquest/pkg-install
+++ b/games/conquest/pkg-install
@@ -1,21 +1,7 @@
#!/bin/sh
-[ "${PKG_PREFIX}" ] && PREFIX="${PKG_PREFIX}"
-[ "${PREFIX}" ] || PREFIX=/usr/local
-
case "$2" in
- PRE-INSTALL)
- if ! pw group show conquest >/dev/null 2>&1
- then
- echo "===> Creating group conquest"
- pw add group conquest
- fi
- ;;
POST-INSTALL)
install -d -o root -g conquest -m 770 /var/games/conquest
;;
- *)
- echo "Incorrect parameter"
- exit 1
- ;;
esac