Correcting test for no config tree version number to match all other cases, not just...
authorDaniel Baumann <daniel@debian.org>
Tue, 4 Dec 2012 10:31:01 +0000 (11:31 +0100)
committerDaniel Baumann <daniel@debian.org>
Tue, 4 Dec 2012 10:31:01 +0000 (11:31 +0100)
functions/defaults.sh

index c9440d7..03d8069 100755 (executable)
@@ -1232,8 +1232,7 @@ Check_defaults ()
                        Echo_error "This config tree is too old for this version of live-build (${VERSION})."
                        Echo_error "Aborting build, please regenerate the config tree."
                        exit 1
-               elif [ ${CURRENT_CONFIG_VERSION} -lt 1 ]
-               then
+               else
                        Echo_warning "This config tree does not specify a format version or has an unknown version number."
                        Echo_warning "Continuing build, but it could lead to errors or different results. Please regenerate the config tree."
                fi