fixing d-l --quiet support
This fixes support for live-helper --quiet that already existed.
apt{,itude} is the next target but requires some more work due to use
of case statements.
BTW I think --quiet should be the default to make errors more obvious,
but would require --noquiet or such to be added to achieve the current
behavior.
--- usr/bin/lh_config 2007-09-17 04:58:03.000000000 -0400
+++ /usr/bin/lh_config 2007-09-18 16:36:11.000000000 -0400
@@ -703,7 +703,7 @@
# \$LH_QUIET: enable quiet
# (Default: ${LH_QUIET})
-#LH_QUIET="${LH_QUIET}"
+LH_QUIET="${LH_QUIET}"
# \$LH_VERBOSE: enable verbose
# (Default: ${LH_VERBOSE})
--- usr/bin/lh_bootstrap_cdebootstrap 2007-09-17 04:58:03.000000000 -0400
+++ /usr/bin/lh_bootstrap_cdebootstrap 2007-09-18 16:36:36.000000000 -0400
@@ -81,17 +81,17 @@
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
Reply to: