diff options
Diffstat (limited to 'news/inn/pkg-install')
-rw-r--r-- | news/inn/pkg-install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/news/inn/pkg-install b/news/inn/pkg-install index fa27dc71c03b..d351162bd33d 100644 --- a/news/inn/pkg-install +++ b/news/inn/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: " |