diff --git a/Shorewall-init/install.sh b/Shorewall-init/install.sh index f4e4a3a9c..d0aaf102a 100755 --- a/Shorewall-init/install.sh +++ b/Shorewall-init/install.sh @@ -585,7 +585,7 @@ if [ -z "$DESTDIR" ]; then fi else if [ $configure -eq 1 -a -n "$first_install" ]; then - if [ $HOST = debian ]; then + if [ $HOST = debian -a -z "$SERVICEDIR" ]; then if [ -n "${DESTDIR}" ]; then mkdir -p ${DESTDIR}/etc/rcS.d fi