mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-10 15:48:13 +01:00
Fix installer
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
bd9a3e5a3e
commit
61bf2d5bfd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user