summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-26 16:14:06 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:20:31 +0100
commitef880ac2bfb80ce77dd9e9871f7de2c2a2699dc1 (patch)
treefc74c28a4a6ac074f31d61d35c04a767f92a0ce8 /functions
parent4826b8c224940efd1716f65ad61ad1c6e58d3a4d (diff)
downloadvyos-live-build-ef880ac2bfb80ce77dd9e9871f7de2c2a2699dc1.tar.gz
vyos-live-build-ef880ac2bfb80ce77dd9e9871f7de2c2a2699dc1.zip
Updating version constraints in config tree version check.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 9066b22f8..fbc88f194 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -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."