2 # preinst script for grub-loopback-iso
7 # Old grml-rescueboot 42_grml is saved upon upgrade as a conffile.
8 # Remove it if it matches known default hashes; otherwise warn.
9 [ -e /etc/grub.d/42_grml ] || return
12 case "$(md5sum /etc/grub.d/42_grml | cut -d' ' -f1)" in
13 1db35de0d6dddb149bd609689ef98b30) # 0.4.2
16 c1afca4d42c494a7421c27ad9fb731fd) # 0.4.4
19 ecc549965cc4b4d0d762a3ba6dfe7cb5) # 0.4.5
24 if [ -n "$default_grubd" ]; then
25 rm -f /etc/grub.d/42_grml
29 echo "WARNING: /etc/grub.d/42_grml appears to have been modified." >&2
30 echo "Please remove it and/or purge the transitional grml-rescueboot package." >&2