[arch-commits] Commit in kernel26/trunk (kernel26.install)
Roman Kyrylych
roman at archlinux.org
Sat Oct 3 11:06:13 UTC 2009
Date: Saturday, October 3, 2009 @ 07:06:12
Author: roman
Revision: 53793
Skip commented /boot when deciding if a warning is needed
Fixes bug #16185.
Modified:
kernel26/trunk/kernel26.install
------------------+
kernel26.install | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: kernel26.install
===================================================================
--- kernel26.install 2009-10-03 10:51:37 UTC (rev 53792)
+++ kernel26.install 2009-10-03 11:06:12 UTC (rev 53793)
@@ -39,7 +39,7 @@
echo ">>>"
fi
- if grep "/boot" /etc/fstab 2>&1 >/dev/null; then
+ if grep "^[^#]*/boot" /etc/fstab 2>&1 >/dev/null; then
if ! grep "/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"
More information about the arch-commits
mailing list