From 8c537daadc178b765aded3f6f0a331d6631ae402 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Tue, 7 Jul 2015 19:15:48 +0200 Subject: [PATCH] Do not try to install the bootloader if a path is not defined. --- src/modules/bootloader/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/bootloader/main.py b/src/modules/bootloader/main.py index 3b4c9e554..fa3a3c251 100644 --- a/src/modules/bootloader/main.py +++ b/src/modules/bootloader/main.py @@ -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)