2 # postinst script for grml-rescueboot
8 if ls /boot/grml/*iso >/dev/null 2>&1 ; then
9 if which update-grub >/dev/null 2>&1; then
10 echo "ISOs found inside /boot/grml, invoking update-grub:"
13 echo "WARN: ISOs found inside /boot/grml but update-grub not present (huh?)"
16 echo "No *.iso files found inside /boot/grml/. Please create /boot/grml and"
17 echo "place Grml ISO(s) there. Finally invoke update-grub and enjoy your rescue system."
21 abort-upgrade|abort-remove|abort-deconfigure)
25 echo "postinst called with unknown argument \`$1'" >&2