Merge branch 'debian': Imported 3.0~b6-1 from Debian Live
[live-boot-grml.git] / debian / live-boot-grml-initramfs-tools.postinst
index 2bae8ae..d11c8d9 100644 (file)
@@ -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