pkgsrc-wip/nnrpd/INSTALL
2005-01-13 16:19:03 +00:00

24 lines
449 B
Text

#!/bin/sh
#
# $NetBSD: INSTALL,v 1.2 2005/01/13 16:19:03 hfath Exp $
if [ "$2" != "POST-INSTALL" ]; then
exit 0
fi
DIRS="etc run tmp"
for DIR in $DIRS; do
if [ ! -d @INNDATA@/$DIR ]; then
install -d -o news -g news -m 775 @INNDATA@/$DIR
fi
done
ETC="nnrp.access"
for FILE in $ETC; do
if [ ! -f @INNDATA@/etc/$FILE ]; then
install -c -o news -g news -m 664 \
${PKG_PREFIX}/share/examples/nnrpd/$FILE @INNDATA@/etc
fi
done
exit 0