summaryrefslogtreecommitdiffstats
path: root/news/inn/pkg-install
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-08-01 05:14:24 +0000
committerdaichi <daichi@FreeBSD.org>2003-08-01 05:14:24 +0000
commit3cc72a1b06111eef73070fee5456564f87f2cb02 (patch)
tree3f3a05cabe5bcc6d72be6f30a4d97f79a7768343 /news/inn/pkg-install
parent9660003debc394bd8726890fda86ad8c4e4e3f7c (diff)
downloadFreeBSD-ports-3cc72a1b06111eef73070fee5456564f87f2cb02.zip
FreeBSD-ports-3cc72a1b06111eef73070fee5456564f87f2cb02.tar.gz
update news/inn:
- Add python knob - Add WITH_TAGGED_HASH (from PR 36587 (thanks to Thomas Seck) - clean/move stuff from do-install: to post-install: - make "portlint -A" happy PR: 55108 Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org> (maintainer) Pointed out by: Thomas Seck <tmseck@netcologne.de>
Diffstat (limited to 'news/inn/pkg-install')
-rw-r--r--news/inn/pkg-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/news/inn/pkg-install b/news/inn/pkg-install
index 7732199..78f7bdb 100644
--- a/news/inn/pkg-install
+++ b/news/inn/pkg-install
@@ -1,12 +1,13 @@
#!/bin/sh
PKGNAME=$1
+[ ! -n PKG_PREFIX ] && exit 1
case $2 in
PRE-INSTALL)
;;
POST-INSTALL)
- NEWSBASE=${PKG_PREFIX:-/usr/local}/news
+ NEWSBASE=${PKG_PREFIX}/news
install -d -o news -g news -m 755 \
${NEWSBASE}/run \
${NEWSBASE}/spool \
@@ -25,4 +26,3 @@ case $2 in
;;
esac
exit 0
-
OpenPOWER on IntegriCloud