This commit is contained in:
malachma 2020-08-30 20:38:24 +02:00
Родитель fbdaadf7b6
Коммит e4c7391566
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -24,7 +24,7 @@ if [[ $isRedHat == "true" ]]; then
# Fix for a bug in RedHat 8.1/8.2
# This needs to be fixed as soon as the bug with grub2-mkconfig is solved too
# grub2-mkconfig must not be executed because of this bug
$(grep -qe 'VERSION_ID="8.[1-2]"' /etc/os-release) && $(sed -i 's/set default="0"/set default="${saved_entry}"/' grub.cfg)
$(grep -qe 'VERSION_ID="8.[1-2]"' /etc/os-release) && $(sed -i 's/set default="0"/set default="${saved_entry}"/' /boot/grub2/grub.cfg)
fi
fi