[SCM] Debian Live build scripts branch, master, updated. 1.0.1-1-40-g8c7a2ed

Chris Lamb lamby at debian.org
Wed Oct 22 19:18:00 UTC 2008


The following commit has been merged in the master branch:
commit 236dc8b7f0ba922639f3d09f9af9639ecffdfc8a
Author: Chris Lamb <lamby at debian.org>
Date:   Wed Oct 22 20:08:42 2008 +0100

    Refactor utility to locate conffiles.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>

diff --git a/functions/conffile.sh b/functions/conffile.sh
index 42a87e7..aa12fc5 100755
--- a/functions/conffile.sh
+++ b/functions/conffile.sh
@@ -9,7 +9,7 @@
 
 set -e
 
-Read_conffile ()
+Get_conffiles ()
 {
 	if [ -n "${LH_CONFIG}" ]
 	then
@@ -24,7 +24,12 @@ Read_conffile ()
 		done
 	fi
 
-	for CONFFILE in ${FILES}
+	echo ${FILES}
+}
+
+Read_conffile ()
+{
+	for CONFFILE in Get_conffiles "${@}"
 	do
 		if [ -f "${CONFFILE}" ]
 		then

-- 
Debian Live build scripts



More information about the debian-live-changes mailing list