diff --git a/Shorewall-core/install.sh b/Shorewall-core/install.sh index e9643850c..253af810b 100755 --- a/Shorewall-core/install.sh +++ b/Shorewall-core/install.sh @@ -133,6 +133,8 @@ while [ $finished -eq 0 ]; do esac done +[ -n $(mywhich install) ] || { fatal_error "This installer requires the 'install' utility" + # # Read the RC file # diff --git a/Shorewall-lite/install.sh b/Shorewall-lite/install.sh index 0c6d8cc0e..6f5f3fb1d 100755 --- a/Shorewall-lite/install.sh +++ b/Shorewall-lite/install.sh @@ -151,6 +151,8 @@ while [ $finished -eq 0 ] ; do esac done +[ -n $(mywhich install) ] || { fatal_error "This installer requires the 'install' utility" + # # Read the RC file # @@ -187,7 +189,7 @@ elif [ -z "${VARDIR}" ]; then VARDIR=${VARLIB}/${PRODUCT} fi -for var in SHAREDIR LIBEXECDIRDIRDIR CONFDIR SBINDIR VARLIB VARDIR; do +for var in SHAREDIR LIBEXECDIR CONFDIR SBINDIR VARLIB VARDIR; do require $var done