Hello,

I try to reinstall memtest86+, and i had no postrm errors.

And i looked in postinst file:

#!/bin/sh

set -e

# offer to run LILO
# (adapted from snippet by chr....@gmx.net)
if [ -x /sbin/lilo ] && [ -r /etc/lilo.conf ] && [ "${DEBIAN_FRONTEND}" != "noninteractive" ] &&
        grep "image.*=.*/boot/memtest86+.bin" /etc/lilo.conf >/dev/null
then
   echo "You seem to have an entry for memtest86+ in /etc/lilo.conf."
   printf "Run lilo now [y/N]? "
   read c
   if [ "$c" = "y" ] || [ "$c" = "Y" ]
   then
        /sbin/lilo
   fi
fi

if test -e /boot/grub/grub.cfg && which update-grub2 > /dev/null ; then
   update-grub2
fi



The script never add lines in /boot/grub/menu.lst because i use grub 0.97-47, and i don't have /boot/grub/grub.cfg and update-grub2 file.

PS: My shell /bin/sh is linked /bin/bash on my server.

Thanks you.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to