[SCM] live-helper branch, debian-next, updated. debian/2.0_a7-1-22-g9c8ba58

Daniel Baumann daniel at debian.org
Sat Feb 20 14:01:55 UTC 2010


The following commit has been merged in the debian-next branch:
commit 9c8ba586162a4654837adcf02c0df494fed4d70e
Author: Daniel Baumann <daniel at debian.org>
Date:   Sat Feb 20 14:53:27 2010 +0100

    Updating image autobuild script.

diff --git a/examples/cron/images.sh b/examples/cron/images.sh
index 2ddbc89..ac98ca1 100755
--- a/examples/cron/images.sh
+++ b/examples/cron/images.sh
@@ -23,7 +23,7 @@ PACKAGES="--packages live-installer-launcher"
 TASKSEL="tasksel"
 
 # Distribution specific options (ugly!)
-case "${DISTRIBUTION}" in
+case "${DISTRIBUTIONS}" in
 	lenny)
 		APT_RECOMMENDS="false"
 		BINARY_INDICES="true"
@@ -98,8 +98,11 @@ do
 			lh clean
 		fi
 
-		rm -f config/*
-		rmdir --ignore-fail-on-non-empty config/*
+		if [ -e config ]
+		then
+			rm -f config/*
+			rmdir --ignore-fail-on-non-empty config/*
+		fi
 
 		rm -rf cache/packages*
 		rm -rf cache/stages_rootfs

-- 
live-helper



More information about the debian-live-changes mailing list