summaryrefslogtreecommitdiffstats
path: root/news/inn/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'news/inn/pkg-install')
-rw-r--r--news/inn/pkg-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/news/inn/pkg-install b/news/inn/pkg-install
index a44c3c5..7732199 100644
--- a/news/inn/pkg-install
+++ b/news/inn/pkg-install
@@ -6,13 +6,14 @@ case $2 in
PRE-INSTALL)
;;
POST-INSTALL)
- NEWSBASE=${PREFIX:-/usr/local}/news
+ NEWSBASE=${PKG_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/incoming/bad \
${NEWSBASE}/spool/innfeed \
${NEWSBASE}/spool/outgoing \
${NEWSBASE}/spool/overview \
OpenPOWER on IntegriCloud