mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-25 03:15:44 -05:00
Don't fail if no path.
This commit is contained in:
parent
969e5c1d55
commit
79fd88f948
1 changed files with 6 additions and 0 deletions
|
@ -240,7 +240,13 @@ def install_grub(efi_directory, fw_type):
|
||||||
efi_file_target[efi_bitness]])
|
efi_file_target[efi_bitness]])
|
||||||
else:
|
else:
|
||||||
print("Bootloader: grub (bios)")
|
print("Bootloader: grub (bios)")
|
||||||
|
if libcalamares.globalstorage.value("bootLoader") is None:
|
||||||
|
return
|
||||||
|
|
||||||
boot_loader = libcalamares.globalstorage.value("bootLoader")
|
boot_loader = libcalamares.globalstorage.value("bootLoader")
|
||||||
|
if boot_loader["installPath"] is None:
|
||||||
|
return
|
||||||
|
|
||||||
check_target_env_call([libcalamares.job.configuration["grubInstall"],
|
check_target_env_call([libcalamares.job.configuration["grubInstall"],
|
||||||
"--target=i386-pc",
|
"--target=i386-pc",
|
||||||
"--recheck",
|
"--recheck",
|
||||||
|
|
Loading…
Add table
Reference in a new issue