diff options
Diffstat (limited to 'abs/core/kernel26/kernel26.install')
-rw-r--r-- | abs/core/kernel26/kernel26.install | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/abs/core/kernel26/kernel26.install b/abs/core/kernel26/kernel26.install index e5ea1f3..8fb5459 100644 --- a/abs/core/kernel26/kernel26.install +++ b/abs/core/kernel26/kernel26.install @@ -2,7 +2,7 @@ # arg 2: the old package version KERNEL_NAME= -KERNEL_VERSION=2.6.36-LinHES +KERNEL_VERSION=2.6.37-LinHES post_install () { # updating module dependencies @@ -39,8 +39,8 @@ post_upgrade() { 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 @@ fi post_remove() { rm -f /boot/kernel26${KERNEL_NAME}.img rm -f /boot/kernel26${KERNEL_NAME}-fallback.img -}
\ No newline at end of file +} |