Require the 'install' utility in the installers

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2015-10-31 12:43:01 -07:00
parent 27d94c8921
commit 073b2992cc
2 changed files with 5 additions and 1 deletions

View File

@ -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
#

View File

@ -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