diff options
author | Daniel Baumann <daniel@debian.org> | 2009-11-13 14:52:43 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:48 +0100 |
commit | 02296bf652f25bb6ec12e6bec752a777ce9740c8 (patch) | |
tree | b28f2cd300a22a65ec7f4a47ad86ae099b24bc4a /helpers | |
parent | 7b3038c64f3236fea7e4940f4e4aa76e2bbdb97f (diff) | |
download | vyos-live-build-02296bf652f25bb6ec12e6bec752a777ce9740c8.tar.gz vyos-live-build-02296bf652f25bb6ec12e6bec752a777ce9740c8.zip |
Giving conditional message in lh_config when creating or updating the config tree.
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/lh_config | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/helpers/lh_config b/helpers/lh_config index 7dd2e6507..d74b21d34 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 |