linux-pae: fix grub.conf creation on pv machines

on some systems it seems that grub2 and it config also exist.
This commit is contained in:
Arne Fitzenreiter
2019-06-18 14:36:02 +02:00
parent 1307df2257
commit 1a129822af

View File

@@ -67,7 +67,9 @@ if [ -e /boot/grub/grub.cfg ]; then
# Update grub2 config
#
grub-mkconfig > /boot/grub/grub.cfg
else
fi
if [ -e /boot/grub/grub.conf ]; then
#
# xen pv with pygrub need grub.conf / menu.lst
#