diff options
author | Michael Hanson <hansonorders@verizon.net> | 2011-01-13 22:24:05 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2011-01-13 22:24:05 (GMT) |
commit | 9a9e9f951475a17193dc46e0f5c822449246cd72 (patch) | |
tree | fef18b77c99ee6f1a8ac49d6239820fc279e70e6 /abs/core/kernel26/kernel26.install | |
parent | 0bcae6dfc24e333236543070f5b8673d37c5abee (diff) | |
parent | 2b48e6775f2116b3a49fb81b5929cc3255f02889 (diff) | |
download | linhes_pkgbuild-9a9e9f951475a17193dc46e0f5c822449246cd72.zip linhes_pkgbuild-9a9e9f951475a17193dc46e0f5c822449246cd72.tar.gz linhes_pkgbuild-9a9e9f951475a17193dc46e0f5c822449246cd72.tar.bz2 |
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
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 +} |