]> TLD Linux GIT Repositories - packages/kernel.git/commitdiff
- fix default behavior of UPDATE_GRUB
authorMarcin Krol <hawk@tld-linux.org>
Tue, 12 Nov 2013 08:56:57 +0000 (08:56 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 12 Nov 2013 08:56:57 +0000 (08:56 +0000)
kernel-vanilla.spec

index 02cc1d52c0e1f145e8421344d95bc9cbff87009a..e45082af152ec8adf7e35d3bc67568f274bc0534 100644 (file)
@@ -5,7 +5,7 @@
 
 %define                basever         3.10
 %define                postver         18
-%define                rel             1
+%define                rel             2
 
 %define                alt_kernel      3.10-vanilla
 
@@ -538,7 +538,7 @@ fi
 
 # update boot loaders
 if [ -x /sbin/update-grub -a -f /etc/sysconfig/grub ]; then
-       if [ "$(. /etc/sysconfig/grub; echo ${UPDATE_GRUB:-no})" = "yes" ]; then
+       if [ "$(. /etc/sysconfig/grub; echo ${UPDATE_GRUB:-yes})" = "yes" ]; then
                /sbin/update-grub >/dev/null
        fi
 fi