X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Flive-boot-initramfs-tools.postinst;h=7239bfd9ebb105b8d426ff3ebf615bc5f9304c0d;hb=d78be8acfdef2c88febb20f3650cad52a309b9e1;hp=2bae8ae0df6399f6426e799a2eeedda42f5ada95;hpb=e66f79476042794195978ee641aa7ea0d9ca6e0a;p=live-boot-grml.git diff --git a/debian/live-boot-initramfs-tools.postinst b/debian/live-boot-initramfs-tools.postinst index 2bae8ae..7239bfd 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 which update-initramfs >/dev/null 2>&1 && [ -e /etc/initramfs-tools/initramfs.conf ] then update-initramfs -u fi