X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Flive-boot-initramfs-tools.postrm;fp=debian%2Flive-boot-initramfs-tools.postrm;h=57c472e88e04b4b954ffcea47c7115f8b7f303ca;hb=d78be8acfdef2c88febb20f3650cad52a309b9e1;hp=370b6c307cf31dcdbc8a48094b6463630d77805e;hpb=269069291cc11027e3fba8e295d272ec84577604;p=live-boot-grml.git diff --git a/debian/live-boot-initramfs-tools.postrm b/debian/live-boot-initramfs-tools.postrm index 370b6c3..57c472e 100644 --- a/debian/live-boot-initramfs-tools.postrm +++ b/debian/live-boot-initramfs-tools.postrm @@ -4,7 +4,7 @@ set -e case "${1}" in remove) - 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