diff options
author | Cecil <knoppmyth@gmail.com> | 2011-01-12 04:34:12 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-01-12 04:34:12 (GMT) |
commit | 1a0444e4bd112dd5fd39ad3d4f0e7ad0943a8282 (patch) | |
tree | 6992996cb5e3fad61100bf10e3f64b5d8341c222 /abs/core/kernel26/kernel26.install | |
parent | 261d9eb4cd112769abffe0504f6b81fac985d2ca (diff) | |
download | linhes_pkgbuild-1a0444e4bd112dd5fd39ad3d4f0e7ad0943a8282.zip linhes_pkgbuild-1a0444e4bd112dd5fd39ad3d4f0e7ad0943a8282.tar.gz linhes_pkgbuild-1a0444e4bd112dd5fd39ad3d4f0e7ad0943a8282.tar.bz2 |
kernel26:Upgrade to 2.6.37
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 +} |