aboutsummaryrefslogtreecommitdiff
path: root/news/inn-current
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2000-09-24 12:44:26 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2000-09-24 12:44:26 +0000
commit79025bdeb3faa54369388151a77bd99f4e42c25a (patch)
treed04008544be960480580cb1f40238373da8705d1 /news/inn-current
parented91215abe1d7c51ddb16caadee2be6a8cb0f00b (diff)
downloadports-79025bdeb3faa54369388151a77bd99f4e42c25a.tar.gz
ports-79025bdeb3faa54369388151a77bd99f4e42c25a.zip
Notes
Diffstat (limited to 'news/inn-current')
-rw-r--r--news/inn-current/pkg-install27
1 files changed, 27 insertions, 0 deletions
diff --git a/news/inn-current/pkg-install b/news/inn-current/pkg-install
new file mode 100644
index 000000000000..a44c3c526e73
--- /dev/null
+++ b/news/inn-current/pkg-install
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+PKGNAME=$1
+
+case $2 in
+ PRE-INSTALL)
+ ;;
+ POST-INSTALL)
+ NEWSBASE=${PREFIX:-/usr/local}/news
+ install -d -o news -g news -m 755 \
+ ${NEWSBASE}/run \
+ ${NEWSBASE}/spool \
+ ${NEWSBASE}/spool/archive \
+ ${NEWSBASE}/spool/articles \
+ ${NEWSBASE}/spool/incoming \
+ ${NEWSBASE}/spool/innfeed \
+ ${NEWSBASE}/spool/outgoing \
+ ${NEWSBASE}/spool/overview \
+ ${NEWSBASE}/spool/tmp
+ ;;
+ *)
+ echo "Unexpected Argument $2!!!"
+ exit 1
+ ;;
+esac
+exit 0
+