diff --git a/Shorewall/install.sh b/Shorewall/install.sh index 76eddd198..dd0a8bb46 100755 --- a/Shorewall/install.sh +++ b/Shorewall/install.sh @@ -236,7 +236,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin # Determine where to install the firewall script # -if [ $PRODUCT = shorewall ]; then +if [ $PRODUCT = shorewall -a -z "${DESTDIR}" ]; then # # Verify that Perl is installed #