Improve check.
This commit is contained in:
parent
7d2bd264b6
commit
969e5c1d55
@ -284,6 +284,10 @@ def run():
|
||||
"""
|
||||
|
||||
fw_type = libcalamares.globalstorage.value("firmwareType")
|
||||
|
||||
if libcalamares.globalstorage.value("bootLoader") is None and fw_type != "efi":
|
||||
return None
|
||||
|
||||
prepare_bootloader(fw_type)
|
||||
|
||||
return None
|
||||
|
Loading…
Reference in New Issue
Block a user