summaryrefslogtreecommitdiff
path: root/devel/p4d/pkg-install
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2008-12-29 14:38:38 +0000
committerLars Thegler <lth@FreeBSD.org>2008-12-29 14:38:38 +0000
commitb2701303053d814c32ef497efb744fd62e45e6ad (patch)
treedd9f7605f2cdcbf43c6300b55126c241381a6c3c /devel/p4d/pkg-install
parent- Update to 6.4.8-2 (diff)
- Update to 08.2
- Drop alpha support - Fix log dir location [1] - Fix depot permissions [1] - Separate DIST_SUBDIR [2] Submitted by: Bernard Treves Brown [1], infofarmer [2]
Notes
Notes: svn path=/head/; revision=224948
Diffstat (limited to 'devel/p4d/pkg-install')
-rw-r--r--devel/p4d/pkg-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/p4d/pkg-install b/devel/p4d/pkg-install
index 88b4d17472f4..d1f6a568f39b 100644
--- a/devel/p4d/pkg-install
+++ b/devel/p4d/pkg-install
@@ -9,7 +9,7 @@ PERFORCE_UID=${PERFORCE_UID:-94}
PERFORCE_GROUP=${PERFORCE_GROUP:-p4admin}
PERFORCE_GID=${PERFORCE_GID:-94}
PERFORCE_HOME=${PERFORCE_HOME:-$PKG_PREFIX/perforce}
-PERFORCE_LOGDIR=${PERFORCE_LOGDIR:-$PERFORCE_HOME/log}
+PERFORCE_LOGS=${PERFORCE_LOGS:-$PERFORCE_HOME/log}
PERFORCE_ROOT=${PERFORCE_ROOT:-$PERFORCE_HOME/root}
case $2 in
@@ -46,6 +46,7 @@ PRE-INSTALL)
if [ ! -d $PERFORCE_HOME ] ; then
mkdir -p $PERFORCE_HOME $PERFORCE_LOGS $PERFORCE_ROOT
chown -R $USER:$GROUP $PERFORCE_HOME
+ chmod 750 $PERFORCE_ROOT
fi
;;
esac