From: Marcin Krol Date: Tue, 12 Nov 2013 08:56:57 +0000 (+0000) Subject: - fix default behavior of UPDATE_GRUB X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=90a965d64d94858731349a89ce7466ed10d70659;p=packages%2Fkernel.git - fix default behavior of UPDATE_GRUB --- diff --git a/kernel-vanilla.spec b/kernel-vanilla.spec index 02cc1d5..e45082a 100644 --- a/kernel-vanilla.spec +++ b/kernel-vanilla.spec @@ -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