Release new version 1:20210208+grml.5
[live-boot-grml.git] / debian / live-boot-initramfs-tools.postrm
index 370b6c3..57c472e 100644 (file)
@@ -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