summaryrefslogtreecommitdiff
path: root/news/inn/files
diff options
context:
space:
mode:
authorspz <spz@pkgsrc.org>2009-03-15 15:00:50 +0000
committerspz <spz@pkgsrc.org>2009-03-15 15:00:50 +0000
commit9a7bece7a3be2cd7af00d35dc6584709493d96ab (patch)
tree7a30fd702f6bf4e09c5431dab2bb13711b675f2b /news/inn/files
parent58d7585b6d6683d265dd79f1ee5968b109971caa (diff)
downloadpkgsrc-9a7bece7a3be2cd7af00d35dc6584709493d96ab.tar.gz
update to the next minor version of INN; now also uses ln in postinstall
instead of install -l. Plus, fix a nit in the startup script.
Diffstat (limited to 'news/inn/files')
-rw-r--r--news/inn/files/innd.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/news/inn/files/innd.sh b/news/inn/files/innd.sh
index 8734017ab8e..7227d9020a8 100644
--- a/news/inn/files/innd.sh
+++ b/news/inn/files/innd.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: innd.sh,v 1.16 2008/12/21 16:00:04 spz Exp $
+# $NetBSD: innd.sh,v 1.17 2009/03/15 15:00:51 spz Exp $
#
# PROVIDE: inn
# REQUIRE: DAEMON
@@ -21,6 +21,11 @@ fi
if [ -x @INN_PATHBIN@/rc.news -a -s @INN_DATA_DIR@/db/active ]
then
+ if [ ! -d @PREFIX@/etc/nntp ]
+ then
+ mkdir @PREFIX@/etc/nntp
+ fi
+
if [ ! -f @PREFIX@/etc/nntp/server ]
then
hostname >@PREFIX@/etc/nntp/server