Fix installer

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-02-25 16:02:20 -08:00
parent bd9a3e5a3e
commit 61bf2d5bfd

View File

@ -302,9 +302,9 @@ if [ -n "$DESTDIR" ]; then
install -d $OWNERSHIP -m 755 ${DESTDIR}/sbin install -d $OWNERSHIP -m 755 ${DESTDIR}/sbin
install -d $OWNERSHIP -m 755 ${DESTDIR}${INITDIR} install -d $OWNERSHIP -m 755 ${DESTDIR}${INITDIR}
else elif [ $PRODUCT != shorewall ]; then
[ -x /usr/share/shorewall/compiler.pl ] || \ [ -x ${LIBEXEC}/shorewall/compiler.pl ] || \
{ echo " ERROR: Shorewall >= 4.3.5 is not installed" >&2; exit 1; } { echo " ERROR: Shorewall >= 4.5.0 is not installed" >&2; exit 1; }
fi fi
if [ -z "$DESTDIR" ]; then if [ -z "$DESTDIR" ]; then