From ac880ca14570c93aaea1bc35dfc293ba8046ad27 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 17 Oct 2013 09:38:54 +0200 Subject: Making warning about alpha version of live-build in lb_config conditional on the internal version. --- scripts/build/config | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'scripts/build/config') diff --git a/scripts/build/config b/scripts/build/config index 2a4abfca6..f6973301e 100755 --- a/scripts/build/config +++ b/scripts/build/config @@ -1364,10 +1364,13 @@ then rmdir --ignore-fail-on-non-empty local > /dev/null 2>&1 || true fi -# New style configuration -Echo_warning "WARNING: THIS VERSION OF LIVE-BUILD IS EXPERIMENTAL!" -Echo_warning "IT IS UNFINISHED AND CHANGES HEAVILY WITHOUT PRIOR NOTICE." -Echo_warning "USER DISCRETION IS ADVISED." +if echo "${VERSION}" | grep -qs "alpha" +then + # live-build alpha version + Echo_warning "WARNING: THIS VERSION OF LIVE-BUILD IS EXPERIMENTAL!" + Echo_warning "IT IS UNFINISHED AND CHANGES HEAVILY WITHOUT PRIOR NOTICE." + Echo_warning "USER DISCRETION IS ADVISED." +fi cat > config/build << EOF [Image] -- cgit v1.2.3