From 8ca53e45f9fd00809683d4d801c23c23057a68f3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 25 Jun 2012 22:47:08 +0200 Subject: [PATCH] Making live-boot-initramfs-tools.postinst more error safe. --- debian/live-boot-initramfs-tools.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.1.4