From: Marcin Krol Date: Tue, 12 Nov 2013 08:57:25 +0000 (+0000) Subject: - fix default behavior of UPDATE_GRUB X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=cbe3d252f01740db1f6f58b84d38450300016dbc;p=packages%2Fkernel.git - fix default behavior of UPDATE_GRUB --- diff --git a/kernel-vanilla.spec b/kernel-vanilla.spec index a5ce1bb..b5d224d 100644 --- a/kernel-vanilla.spec +++ b/kernel-vanilla.spec @@ -5,7 +5,7 @@ %define basever 3.11 %define postver 7 -%define rel 1 +%define rel 2 %define alt_kernel 3.11-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