X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=debian%2Flilo.postinst;h=43116fbb3597b0556e1098d26c4394de917a74ef;hb=5bbd690184dba250c7e3d80c6cad42e261e180a1;hp=cc03366c6f51512501db480da5f545f9afdfab89;hpb=b4ab7f50627fa7e7388deab84c3e9e9b1a97542c;p=rrq%2Fmaintain_lilo.git diff --git a/debian/lilo.postinst b/debian/lilo.postinst index cc03366..43116fb 100644 --- a/debian/lilo.postinst +++ b/debian/lilo.postinst @@ -5,8 +5,6 @@ set -e -LNKS="sarge sid" - if [ -f /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule fi @@ -38,7 +36,7 @@ case "$1" in # Check whether /boot is on another partition and mount it. See Bug#216250 if grep "[[:space:]]/boot[[:space:]]" /etc/fstab | grep -vq "^#"; then if ! grep -q "[[:space:]]/boot[[:space:]]" /etc/mtab ; then - mount /boot 2>&1 > /dev/null + mount /boot > /dev/null 2>&1 if [ $? -ne 0 ]; then echo @@ -53,10 +51,6 @@ case "$1" in rm -f /boot/debian.bmp; fi install -m 0644 /usr/share/lilo/*.bmp /boot - # stay compatible with old lilo 22.8 - for i in ${LNKS}; do - ln -s debian.bmp /boot/${i}.bmp - done # Nasty part to create network block devices if needed. Bug#235805. if [ `uname -r | sed -e 's/-.*//g' -ne 's/\(^[0-9]\{1\}\.[0-9]\{1,2\}\).*/\1/p'` = "2.6" ] && \