[SCM] debian-live/live-helper branch, master, updated. 1.0_a27-1-66-gde59430
Daniel Baumann
daniel at debian.org
Thu Oct 4 20:08:34 UTC 2007
The branch, master has been updated
via de59430e16c7eb6b884e4fbd145e384b8d517fea (commit)
from 72fef5a3c6d98207a1f228aeb1302e956ed86fca (commit)
- Shortlog ------------------------------------------------------------
de59430 Respecting LH_QUIET for cdebootstrap calls, thanks to Justin Pryzby <pryzbyj at justinpryzby.com>.
Summary of changes:
helpers/lh_bootstrap_cdebootstrap | 8 +++++---
helpers/lh_config | 2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
-----------------------------------------------------------------------
Details of changes:
commit de59430e16c7eb6b884e4fbd145e384b8d517fea
Author: Daniel Baumann <daniel at debian.org>
Date: Thu Oct 4 22:08:31 2007 +0200
Respecting LH_QUIET for cdebootstrap calls, thanks to Justin Pryzby <pryzbyj at justinpryzby.com>.
diff --git a/helpers/lh_bootstrap_cdebootstrap b/helpers/lh_bootstrap_cdebootstrap
index 225b24d..b192858 100755
--- a/helpers/lh_bootstrap_cdebootstrap
+++ b/helpers/lh_bootstrap_cdebootstrap
@@ -81,17 +81,17 @@ else
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --flavour=minimal"
fi
-if [ "${LH_DEBUG}" = "true" ]
+if [ "${LH_DEBUG}" = "enabled" ]
then
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --debug"
fi
-if [ "${LH_QUIET}" = "true" ]
+if [ "${LH_QUIET}" = "enabled" ]
then
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --quiet"
fi
-if [ "${LH_VERBOSE}" = "true" ]
+if [ "${LH_VERBOSE}" = "enabled" ]
then
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --verbose"
fi
@@ -127,7 +127,9 @@ then
fi
# Executing cdebootstrap (regular run)
+ [ "$LH_QUIET" = "enabled" ] && echo -n "Running cdebootstrap ... "
${LH_ROOT_COMMAND} cdebootstrap ${CDEBOOTSTRAP_OPTIONS} "${LH_DISTRIBUTION}" chroot "${LH_MIRROR_BOOTSTRAP}"
+ [ "$LH_QUIET" = "enabled" ] && echo "done."
if [ -n "${LH_ROOT_COMMAND}" ]
then
diff --git a/helpers/lh_config b/helpers/lh_config
index 0c4c256..bfcb316 100755
--- a/helpers/lh_config
+++ b/helpers/lh_config
@@ -703,7 +703,7 @@ LH_TEMPLATES="${LH_TEMPLATES}"
# \$LH_QUIET: enable quiet
# (Default: ${LH_QUIET})
-#LH_QUIET="${LH_QUIET}"
+LH_QUIET="${LH_QUIET}"
# \$LH_VERBOSE: enable verbose
# (Default: ${LH_VERBOSE})
--
debian-live/live-helper
More information about the debian-live-changes
mailing list