diff options
author | des <des@FreeBSD.org> | 2000-09-24 12:44:26 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2000-09-24 12:44:26 +0000 |
commit | cbe3191d010a6def4bf927157cd74ce7cf1b6b6b (patch) | |
tree | e1822a9ef6848fd996251987129b0f73146eb914 /news/inn-current | |
parent | 00525b5084fb472d28a83d1f861aba2140fd3b40 (diff) | |
download | FreeBSD-ports-cbe3191d010a6def4bf927157cd74ce7cf1b6b6b.zip FreeBSD-ports-cbe3191d010a6def4bf927157cd74ce7cf1b6b6b.tar.gz |
Add forgotten post-install script
Diffstat (limited to 'news/inn-current')
-rw-r--r-- | news/inn-current/pkg-install | 27 |
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 0000000..a44c3c5 --- /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 + |