improve bootloader efi check

This commit is contained in:
Bernhard Landauer 2017-01-21 02:59:02 +01:00
parent 5392615053
commit 554ebcdff4

View File

@ -282,10 +282,12 @@ def run():
:return:
"""
if libcalamares.globalstorage.value("bootLoader") is None:
return None
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