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

index 6bc940be1779c4fbc0eac46d8b91a6e13b878535..b31a40a09a3f26fc33300e35b256c5dd3f10b2d1 100644 (file)
@@ -6,7 +6,7 @@
 
 %define                _basever                3.2
 %define                _postver                .52
-%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