Updating version constraints in config tree version check.
This commit is contained in:
parent
4826b8c224
commit
ef880ac2bf
|
@ -1141,13 +1141,13 @@ Check_defaults ()
|
|||
# except when bootstrapping the functions/defaults etc.).
|
||||
CURRENT_CONFIG_VERSION="$(echo ${LB_CONFIG_VERSION} | awk -F. '{ print $1 }')"
|
||||
|
||||
if [ ${CURRENT_CONFIG_VERSION} -ge 3 ]
|
||||
if [ ${CURRENT_CONFIG_VERSION} -ge 4 ]
|
||||
then
|
||||
Echo_error "This config tree is too new for this version of live-build (${VERSION})."
|
||||
Echo_error "Aborting build, please get a new version of live-build."
|
||||
|
||||
exit 1
|
||||
elif [ ${CURRENT_CONFIG_VERSION} -eq 1 ]
|
||||
elif [ ${CURRENT_CONFIG_VERSION} -eq 2 ]
|
||||
then
|
||||
Echo_error "This config tree is too old for this version of live-build (${VERSION})."
|
||||
Echo_error "Aborting build, please repopulate the config tree."
|
||||
|
|
Loading…
Reference in New Issue