From 02296bf652f25bb6ec12e6bec752a777ce9740c8 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Fri, 13 Nov 2009 14:52:43 +0100
Subject: Giving conditional message in lh_config when creating or updating the
 config tree.

---
 helpers/lh_config | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

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
-- 
cgit v1.0