diff options
author | des <des@FreeBSD.org> | 2000-09-24 20:44:26 +0800 |
---|---|---|
committer | des <des@FreeBSD.org> | 2000-09-24 20:44:26 +0800 |
commit | cbe3191d010a6def4bf927157cd74ce7cf1b6b6b (patch) | |
tree | e1822a9ef6848fd996251987129b0f73146eb914 /news | |
parent | 00525b5084fb472d28a83d1f861aba2140fd3b40 (diff) | |
download | freebsd-ports-gnome-cbe3191d010a6def4bf927157cd74ce7cf1b6b6b.tar.gz freebsd-ports-gnome-cbe3191d010a6def4bf927157cd74ce7cf1b6b6b.tar.zst freebsd-ports-gnome-cbe3191d010a6def4bf927157cd74ce7cf1b6b6b.zip |
Add forgotten post-install script
Diffstat (limited to 'news')
-rw-r--r-- | news/inn-current/pkg-install | 27 | ||||
-rw-r--r-- | news/inn/pkg-install | 27 |
2 files changed, 54 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 + diff --git a/news/inn/pkg-install b/news/inn/pkg-install new file mode 100644 index 000000000000..a44c3c526e73 --- /dev/null +++ b/news/inn/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 + |