mirror of
https://github.com/Le0xFF/VoidLinuxInstaller.git
synced 2024-09-11 18:47:17 +03:00
Add another check if GRUB2 is installed or not
This commit is contained in:
parent
39b72fede5
commit
9fa24125a6
2
vli.sh
2
vli.sh
@ -1033,7 +1033,7 @@ cat << End >> /etc/kernel.d/post-install/51-grub_ckb
|
||||
#
|
||||
|
||||
if [ ! -f /boot/efi/EFI/$bootloader_id/ORIG_grubx64.efi_ORIG ] ; then
|
||||
if [ ! -f /boot/efi/EFI/$bootloader_id/grubx64.efi ] ; then
|
||||
if [ ! -d /boot/grub ] || [ ! -f /boot/efi/EFI/$bootloader_id/grubx64.efi ] ; then
|
||||
echo -e -n "\nFIle /boot/efi/EFI/$bootloader_id/grubx64.efi not found, install GRUB2 first!\n"
|
||||
exit 1
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user