summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/build/config7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/build/config b/scripts/build/config
index c5b01db74..c2a59192c 100755
--- a/scripts/build/config
+++ b/scripts/build/config
@@ -1484,8 +1484,13 @@ 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 [ ! -e config/control ]
+then
+ _NEW_CONFIG="true"
+fi
+
Set_configuration "config/control" "Configuration-Version" "${LIVE_CONFIGURATION_VERSION}"
-echo "" >> config/control
+[ "${_NEW_CONFIG}" = "true" ] && echo "" >> config/control
Set_configuration "config/control" "Name" "${LIVE_IMAGE_NAME}"
Set_configuration "config/control" "Architecture" "${LIVE_IMAGE_ARCHITECTURE}"
Set_configuration "config/control" "Archive-Areas" "${LIVE_IMAGE_ARCHIVE_AREAS}"