Verify shorewall-common version -- Take 2

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6746 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep
2007-07-02 17:20:49 +00:00
parent cac2ecfee6
commit 96b0f907a5
3 changed files with 42 additions and 10 deletions

View File

@ -35,6 +35,9 @@
# SHOREWALL_DIR A directory name was passed to /sbin/shorewall
# VERBOSE Standard Shorewall verbosity control.
MIN_COMMON_VERSION=40000
MIN_COMMON_VERSION_PRINTABLE=4.0.0
#
# Fatal error -- stops the compiler after issuing the error message
#
@ -5738,7 +5741,7 @@ done
VERSION=$(cat $SHELLSHAREDIR/version)
[ $SHOREWALL_LIBVERSION -ge $MIN_COMMON_VERSION ] || fatal_error "Shorewall-shell $VERSION requires Shorewall-common >= 4.0.0"
[ $SHOREWALL_LIBVERSION -ge $MIN_COMMON_VERSION ] || fatal_error "Shorewall-shell $VERSION requires Shorewall-common >= $MIN_COMMON_VERSION_PRINTABLE"
PROGRAM=compiler