From 156ed38b233aae3f2ac173b63b3cecba62652ee6 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 18 Aug 2013 08:30:11 -0700 Subject: [PATCH] Correct installation of $SYSCONFFILE Signed-off-by: Tom Eastep --- Shorewall-lite/install.sh | 2 +- Shorewall/install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall-lite/install.sh b/Shorewall-lite/install.sh index 06c56f565..00860fd4a 100755 --- a/Shorewall-lite/install.sh +++ b/Shorewall-lite/install.sh @@ -503,7 +503,7 @@ if [ -n "$SYSCONFFILE" -a ! -f ${DESTDIR}${SYSCONFDIR}/${PRODUCT} ]; then chmod 755 ${DESTDIR}${SYSCONFDIR} fi - run_install $OWNERSHIP -m 0644 default.debian ${DESTDIR}${SYSCONFDIR}/${PRODUCT} + run_install $OWNERSHIP -m 0644 ${SYSCONFFILE} ${DESTDIR}${SYSCONFDIR}/${PRODUCT} echo "$SYSCONFFILE installed in ${DESTDIR}${SYSCONFDIR}/${PRODUCT}" fi diff --git a/Shorewall/install.sh b/Shorewall/install.sh index b9c58956a..cb797670b 100755 --- a/Shorewall/install.sh +++ b/Shorewall/install.sh @@ -1148,7 +1148,7 @@ if [ -n "$SYSCONFFILE" -a ! -f ${DESTDIR}${SYSCONFDIR}/${PRODUCT} ]; then chmod 755 ${DESTDIR}${SYSCONFDIR} fi - run_install $OWNERSHIP -m 0644 default.debian ${DESTDIR}${SYSCONFDIR}/$PRODUCT + run_install $OWNERSHIP -m 0644 ${SYSCONFFILE} ${DESTDIR}${SYSCONFDIR}/$PRODUCT echo "$SYSCONFFILE installed in ${DESTDIR}${SYSCONFDIR}/${PRODUCT}" fi