summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-11-13 14:52:43 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:48 +0100
commit02296bf652f25bb6ec12e6bec752a777ce9740c8 (patch)
treeb28f2cd300a22a65ec7f4a47ad86ae099b24bc4a /helpers
parent7b3038c64f3236fea7e4940f4e4aa76e2bbdb97f (diff)
downloadlive-build-02296bf652f25bb6ec12e6bec752a777ce9740c8.zip
live-build-02296bf652f25bb6ec12e6bec752a777ce9740c8.tar.gz
Giving conditional message in lh_config when creating or updating the config tree.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_config7
1 files changed, 6 insertions, 1 deletions
diff --git a/helpers/lh_config b/helpers/lh_config
index 7dd2e65..d74b21d 100755
--- a/helpers/lh_config
+++ b/helpers/lh_config
@@ -778,7 +778,12 @@ Set_defaults
# Checking defaults
Check_defaults
-Echo_message "Creating config tree"
+if [ ! -e config ]
+then
+ Echo_message "Creating config tree"
+else
+ Echo_message "Updating config tree"
+fi
# Creating bootstrap configuration
mkdir -p config