[SCM] live-build branch, debian, updated. debian/3.0_a30-1-31-g468a41f

Daniel Baumann daniel at debian.org
Wed Sep 7 15:43:10 UTC 2011


The following commit has been merged in the debian branch:
commit ad518cce947edd72293450f8ea21fe66ee892244
Author: Daniel Baumann <daniel at debian.org>
Date:   Wed Aug 24 22:59:46 2011 +0200

    Setting apt-source to false in progress mode.

diff --git a/functions/defaults.sh b/functions/defaults.sh
index c87237a..ec283d4 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -101,7 +101,15 @@ Set_defaults ()
 	LB_APT_SECURE="${LB_APT_SECURE:-true}"
 
 	# Setting apt source
-	LB_APT_SOURCE="${LB_APT_SOURCE:-true}"
+	case "${LB_MODE}" in
+		progress)
+			LB_APT_SOURCE="${LB_APT_SOURCE:-false}"
+			;;
+
+		*)
+			LB_APT_SOURCE="${LB_APT_SOURCE:-true}"
+			;;
+	esac
 
 	# Setting bootstrap program
 	if [ -z "${LB_BOOTSTRAP}" ] || ( [ ! -x "$(which ${LB_BOOTSTRAP} 2>/dev/null)" ] && [ "${LB_BOOTSTRAP}" != "copy" ] )

-- 
live-build



More information about the debian-live-changes mailing list