diff options
author | des <des@FreeBSD.org> | 2000-12-22 04:43:52 +0800 |
---|---|---|
committer | des <des@FreeBSD.org> | 2000-12-22 04:43:52 +0800 |
commit | fe6927d59a4974aae2eb857b9378e3fc2ad18af5 (patch) | |
tree | 03fb4ad7a80eb73508a87ff5c4a4631e17542256 /news | |
parent | 7e3ce5c144eb5ace53d093063d243e9a83a43805 (diff) | |
download | freebsd-ports-gnome-fe6927d59a4974aae2eb857b9378e3fc2ad18af5.tar.gz freebsd-ports-gnome-fe6927d59a4974aae2eb857b9378e3fc2ad18af5.tar.zst freebsd-ports-gnome-fe6927d59a4974aae2eb857b9378e3fc2ad18af5.zip |
Add pkg-install, forgotten in previous commit.
Diffstat (limited to 'news')
-rw-r--r-- | news/inn-stable/pkg-install | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/news/inn-stable/pkg-install b/news/inn-stable/pkg-install new file mode 100644 index 000000000000..ccfece42914a --- /dev/null +++ b/news/inn-stable/pkg-install @@ -0,0 +1,28 @@ +#!/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/incoming/bad \ + ${NEWSBASE}/spool/innfeed \ + ${NEWSBASE}/spool/outgoing \ + ${NEWSBASE}/spool/overview \ + ${NEWSBASE}/spool/tmp + ;; + *) + echo "Unexpected Argument $2!!!" + exit 1 + ;; +esac +exit 0 + |