]> 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:25 +0000 (08:56 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 12 Nov 2013 08:56:25 +0000 (08:56 +0000)
kernel-vanilla.spec

index f9f08368669634fd5758f82c7bcb963e1fd980ec..0f0ee45cd9b5f59439df991e2d40e58ebf7879de 100644 (file)
@@ -6,7 +6,7 @@
 
 %define                _basever                3.4
 %define                _postver                .68
-%define                _rel                    1
+%define                _rel                    2
 
 %define                _enable_debug_packages                  0
 
@@ -525,7 +525,7 @@ fi
 
 # update boot loader
 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