[SCM] live-boot branch, debian-next, updated. debian/3.0_a32-1-9-gb77506c

Daniel Baumann daniel at debian.org
Mon Jun 25 20:47:20 UTC 2012


The following commit has been merged in the debian-next branch:
commit 8ca53e45f9fd00809683d4d801c23c23057a68f3
Author: Daniel Baumann <daniel at debian.org>
Date:   Mon Jun 25 22:47:08 2012 +0200

    Making live-boot-initramfs-tools.postinst more error safe.

diff --git a/debian/live-boot-initramfs-tools.postinst b/debian/live-boot-initramfs-tools.postinst
index 2bae8ae..d11c8d9 100644
--- a/debian/live-boot-initramfs-tools.postinst
+++ b/debian/live-boot-initramfs-tools.postinst
@@ -4,7 +4,7 @@ set -e
 
 case "${1}" in
 	configure)
-		if [ -x /usr/sbin/update-initramfs ]
+		if [ -x /usr/sbin/update-initramfs ] && [ -e /etc/initramfs-tools/initramfs.conf ]
 		then
 			update-initramfs -u
 		fi

-- 
live-boot



More information about the debian-live-changes mailing list