1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/news/inn/pkg-install
2001-03-05 15:00:32 +00:00

29 lines
543 B
Bash

#!/bin/sh
PKGNAME=$1
case $2 in
PRE-INSTALL)
;;
POST-INSTALL)
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 \
${NEWSBASE}/spool/tmp
;;
*)
echo "Unexpected Argument $2!!!"
exit 1
;;
esac
exit 0