[SCM] debian-live/live-helper branch, master, updated. 1.0_a37-2-48-g92cd4a1

Otavio Salvador otavio at ossystems.com.br
Tue Feb 19 09:22:43 UTC 2008


The following commit has been merged in the master branch:
commit 92cd4a1daa9953260b0633c6d2a9c22019618c53
Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Fri Feb 15 16:13:12 2008 -0200

    binary: do not fail if parameters.txt isn't available

diff --git a/helpers/lh_binary_linux-image b/helpers/lh_binary_linux-image
index 6795ec4..8290887 100755
--- a/helpers/lh_binary_linux-image
+++ b/helpers/lh_binary_linux-image
@@ -90,11 +90,11 @@ case "${LH_INITRAMFS}" in
 	casper)
 		# Checking casper templates
 		Check_templates casper
-		cp "${TEMPLATES}"/parameters.txt "${DESTDIR}"/parameters.txt
+		cp "${TEMPLATES}"/parameters.txt "${DESTDIR}"/parameters.txt || true
 		;;
 
 	live-initramfs)
-		cp chroot/usr/share/doc/live-initramfs/parameters.txt "${DESTDIR}"/parameters.txt
+		cp chroot/usr/share/doc/live-initramfs/parameters.txt "${DESTDIR}"/parameters.txt || true
 		;;
 esac
 

-- 
debian-live/live-helper



More information about the debian-live-changes mailing list