[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

d-l: support LH_QUIET



On Sun, Sep 23, 2007 at 09:46:39AM +0200, Daniel Baumann wrote:
> Justin Pryzby wrote:
> > See also my first submission to d-l ML regarding quiet support, which
> > is necessary for this patch to be effective.
> 
> done, thanks.
BTW for _binary_cdebootstrap I've sinced added the following, but I
don't know what your preferred $echo mechanism is.

--- -	2007-09-23 10:26:32.907383000 -0400
+++ /usr/bin/lh_bootstrap_cdebootstrap	2007-09-19 16:11:42.000000000 -0400
@@ -127,7 +127,9 @@
 	fi
 
 	# Executing cdebootstrap (regular run)
+	[ "$LH_QUIET" = "enabled" ] && echo -n "Running cdebootstrap ... " >&2
 	${LH_ROOT_COMMAND} cdebootstrap ${CDEBOOTSTRAP_OPTIONS} "${LH_DISTRIBUTION}" chroot "${LH_MIRROR_BOOTSTRAP}"
+	[ "$LH_QUIET" = "enabled" ] && echo "done." >&2
 
 	if [ -n "${LH_ROOT_COMMAND}" ]
 	then



Reply to: