Don't do grubcfg if we're not installing any boot loader.

This commit is contained in:
Teo Mrnjavac 2015-07-07 19:21:13 +02:00
parent 881bf67d22
commit a878d9763f

View file

@ -134,6 +134,9 @@ def run():
:return:
"""
if libcalamares.globalstorage.value("bootLoader") is None:
return None
partitions = libcalamares.globalstorage.value("partitions")
root_mount_point = libcalamares.globalstorage.value("rootMountPoint")
branding = libcalamares.globalstorage.value("branding")