Do not try to install the bootloader if a path is not defined.

This commit is contained in:
Teo Mrnjavac 2015-07-07 19:15:48 +02:00
parent 87edd61278
commit 8c537daadc

View File

@ -237,6 +237,9 @@ def run():
:return:
"""
if libcalamares.globalstorage.value("bootLoader") is None:
return None
fw_type = libcalamares.globalstorage.value("firmwareType")
prepare_bootloader(fw_type)