From: Daniel Baumann Date: Mon, 25 Jun 2012 20:47:08 +0000 (+0200) Subject: Making live-boot-initramfs-tools.postinst more error safe. X-Git-Tag: debian/3.0_a34-1~6 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=8ca53e45f9fd00809683d4d801c23c23057a68f3;p=live-boot-grml.git 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