diff --git a/grub2.spec b/grub2.spec index 31e1a5c..4371efa 100644 --- a/grub2.spec +++ b/grub2.spec @@ -310,7 +310,7 @@ fi %posttrans tools if [ -f /etc/default/grub ]; then - ! grep -q '^GRUB_ENABLE_BLSCFG=false' /etc/default/grub && \ + ! grep -q '^GRUB_ENABLE_BLSCFG=.*' /etc/default/grub && \ /sbin/grub2-switch-to-blscfg --backup-suffix=.rpmsave &>/dev/null || : fi