--- install.orig 2010-12-10 21:04:09.000000000 +0100 +++ install 2010-12-12 11:47:40.000000000 +0100 @@ -39,8 +39,8 @@ echo ">>>" fi - if grep "^[^#]*/boot" /etc/fstab 2>&1 >/dev/null; then - if ! grep "/boot" /etc/mtab 2>&1 >/dev/null; then + if grep "^[^#]*[[:space:]]/boot" /etc/fstab 2>&1 >/dev/null; then + if ! grep "[[:space:]]/boot" /etc/mtab 2>&1 >/dev/null; then echo "WARNING: /boot appears to be a seperate partition but is not mounted" echo " This is most likely not what you want. Please mount your /boot" echo " partition and reinstall the kernel unless you are sure this is OK" @@ -144,4 +144,4 @@ post_remove() { rm -f /boot/kernel26${KERNEL_NAME}.img rm -f /boot/kernel26${KERNEL_NAME}-fallback.img -} \ No newline at end of file +}