aboutsummaryrefslogtreecommitdiffstats
path: root/news/inn-current/pkg-install
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-02-27 00:20:51 +0800
committerclement <clement@FreeBSD.org>2004-02-27 00:20:51 +0800
commit9336081b168c8a647185b46c7965cd31a8edb5bb (patch)
tree45406ac06126bd8bc2efc39bb15ec4080b081037 /news/inn-current/pkg-install
parent79f6f72735eadd4a59448fdcb9b99b85885a83b2 (diff)
downloadfreebsd-ports-gnome-9336081b168c8a647185b46c7965cd31a8edb5bb.tar.gz
freebsd-ports-gnome-9336081b168c8a647185b46c7965cd31a8edb5bb.tar.zst
freebsd-ports-gnome-9336081b168c8a647185b46c7965cd31a8edb5bb.zip
- Add WITH_STANDARD_ETC knob
If you define WITH_STANDARD_ETC inn config files are put in ${PREFIX}/etc/inn Requested by: Jochen Gensch <incmc@gmx.de> (PR 61974)
Diffstat (limited to 'news/inn-current/pkg-install')
-rw-r--r--news/inn-current/pkg-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/news/inn-current/pkg-install b/news/inn-current/pkg-install
index fa27dc71c03b..d351162bd33d 100644
--- a/news/inn-current/pkg-install
+++ b/news/inn-current/pkg-install
@@ -8,9 +8,9 @@ case $2 in
PRE-INSTALL)
;;
CHECK-CONF)
- NEWSBASE=${PKG_PREFIX}/news
+ ETC_DIR=${3}
echo "Checking for configuration files"
- for f in $(find ${NEWSBASE}/etc/ -name "*.dist" -type f)
+ for f in $(find ${ETC_DIR} -name "*.dist" -type f)
do
REALFILE=${f%%.dist}
echo -n "Checking if ${REALFILE} exists: "