mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-26 04:32:01 +02:00
Changes to compensate for the lack of Shorewall-perl
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9537 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
f238b6a5aa
commit
a939b07f49
@ -162,8 +162,8 @@ if [ -n "$PREFIX" ]; then
|
|||||||
install -d $OWNERSHIP -m 755 ${PREFIX}${DEST}
|
install -d $OWNERSHIP -m 755 ${PREFIX}${DEST}
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
[ -x /usr/share/shorewall-perl/compiler.pl ] || \
|
[ -x /usr/share/shorewall/compiler.pl ] || \
|
||||||
{ echo " ERROR: Shorewall-perl is not installed" >&2; exit 1; }
|
{ echo " ERROR: Shorewall >= 4.3.5 is not installed" >&2; exit 1; }
|
||||||
if [ -z "$CYGWIN" ]; then
|
if [ -z "$CYGWIN" ]; then
|
||||||
if [ -d /etc/apt -a -e /usr/bin/dpkg ]; then
|
if [ -d /etc/apt -a -e /usr/bin/dpkg ]; then
|
||||||
DEBIAN=yes
|
DEBIAN=yes
|
||||||
|
@ -624,14 +624,9 @@ dump_command() {
|
|||||||
clear_term
|
clear_term
|
||||||
echo "$PRODUCT $version Dump at $HOSTNAME - $(date)"
|
echo "$PRODUCT $version Dump at $HOSTNAME - $(date)"
|
||||||
echo
|
echo
|
||||||
if [ -f /usr/share/shorewall6-shell/version ]; then
|
|
||||||
echo " Shorewall6-shell $(cat /usr/share/shorewall6-shell/version)"
|
if [ -f /usr/share/shorewall/version ]; then
|
||||||
if [ -f /usr/share/shorewall6-perl/version ]; then
|
echo " Shorewall $(cat /usr/share/shorewall/version)"
|
||||||
echo " Shorewall6-perl $(cat /usr/share/shorewall6-perl/version)"
|
|
||||||
fi
|
|
||||||
echo
|
|
||||||
elif [ -f /usr/share/shorewall6-perl/version ]; then
|
|
||||||
echo " Shorewall6-perl $(cat /usr/share/shorewall6-perl/version)"
|
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user