summaryrefslogtreecommitdiff
path: root/news/inn/files
diff options
context:
space:
mode:
authorShaun Amott <shaun@FreeBSD.org>2006-11-01 15:14:40 +0000
committerShaun Amott <shaun@FreeBSD.org>2006-11-01 15:14:40 +0000
commite008bbf4d3b5b8237bbdb9cabb721269f105e437 (patch)
tree4fedf6b7d453815d61803c3cf8a3469995eab59f /news/inn/files
parent- Fix WWW. (diff)
Fix database directory ownership / configure options.
Diffstat (limited to 'news/inn/files')
-rw-r--r--news/inn/files/pkg-install.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/news/inn/files/pkg-install.in b/news/inn/files/pkg-install.in
index 24307e0aa623..f083cdc46533 100644
--- a/news/inn/files/pkg-install.in
+++ b/news/inn/files/pkg-install.in
@@ -17,7 +17,9 @@ case $2 in
PRE-INSTALL)
echo "===> Checking for old database files"
if [ ! -d ${DBDIR} ]; then
+ mkdir -p ${DBDIR}
mkdir -p ${EGDIR}/db
+ chown news:news ${DBDIR}
fi
;;
CHECK-CONF)