core/linux: fixed linux.install

This commit is contained in:
Kevin Mihelich 2011-11-09 14:36:06 -05:00
parent 5e0c82bb05
commit 65c5409b9c

View file

@ -2,7 +2,7 @@
# arg 2: the old package version
KERNEL_NAME=
KERNEL_VERSION=3.0-ARCH
KERNEL_VERSION=3.1.0-4-ARCH
post_install () {
# updating module dependencies
@ -13,9 +13,8 @@ post_install () {
post_upgrade() {
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"
echo "WARNING: /boot appears to be a seperate partition but is not mounted."
echo " You probably just broke your system. Congratulations."
fi
fi