Improve check.

This commit is contained in:
Teo Mrnjavac 2017-01-17 18:13:51 +01:00
parent 7d2bd264b6
commit 969e5c1d55

View file

@ -284,6 +284,10 @@ def run():
""" """
fw_type = libcalamares.globalstorage.value("firmwareType") fw_type = libcalamares.globalstorage.value("firmwareType")
if libcalamares.globalstorage.value("bootLoader") is None and fw_type != "efi":
return None
prepare_bootloader(fw_type) prepare_bootloader(fw_type)
return None return None