From e9bcd1dde5e20ff7e9ccf8c0704c204d323a67ea Mon Sep 17 00:00:00 2001 From: lizhiwei Date: Thu, 3 Jun 2021 11:32:35 +0800 Subject: [PATCH] update grub2.spec. --- grub2.spec | 7 ------- 1 file changed, 7 deletions(-) diff --git a/grub2.spec b/grub2.spec index 7c2c511..87be2c9 100644 --- a/grub2.spec +++ b/grub2.spec @@ -300,13 +300,6 @@ elif [ -f /etc/grub.d/01_users ] && \ fi fi -%posttrans tools - -if [ -f /etc/default/grub ]; then - if grep -q '^GRUB_ENABLE_BLSCFG=.*' /etc/default/grub; then - sed -i '/GRUB_ENABLE_BLSCFG=/d' /etc/default/grub - fi -fi %triggerun -- grub2 < 1:1.99-4 mkdir -p /boot/grub2.tmp && -- Gitee