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