[SCM] live-debconfig branch, debian-next, updated. debian/4.0_a3-1-12-g1109c4f

Daniel Baumann daniel at debian.org
Fri Aug 17 09:33:27 UTC 2012


The following commit has been merged in the debian-next branch:
commit 1109c4faf10253a3adeaca448035ff4450a37a92
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Aug 17 11:33:27 2012 +0200

    Prepeding scripts execution with custom debconf systemrc to avoid needing to export the variable to make it work.

diff --git a/bin/live-debconfig b/bin/live-debconfig
index e813bc7..d98a5bc 100755
--- a/bin/live-debconfig
+++ b/bin/live-debconfig
@@ -62,8 +62,6 @@ EOF
 
 fi
 
-DEBCONF_SYSTEMRC="/var/lib/live/debconfig/systemrc"
-
 if [ "${1}" = "--noscripts" ]
 then
 	exit
@@ -75,6 +73,6 @@ do
 	if [ -x "${_SCRIPT}" ]
 	then
 		# FIXME: make scripts a multiselect
-		"${_SCRIPT}"
+		DEBCONF_SYSTEMRC="/var/lib/live/debconfig/systemrc" "${_SCRIPT}"
 	fi
 done

-- 
live-debconfig



More information about the debian-live-changes mailing list