diff --git a/src/modules/packages/main.py b/src/modules/packages/main.py index 2413990b4..d132c8ce9 100644 --- a/src/modules/packages/main.py +++ b/src/modules/packages/main.py @@ -76,8 +76,9 @@ def run(): for entry in operations: run_operations(pkgman, entry) - operations = libcalamares.globalstorage.value("packageOperations") - for entry in operations: - run_operations(pkgman, entry) + if libcalamares.globalstorage.contains("pagkageOperations"): + operations = libcalamares.globalstorage.value("packageOperations") + for entry in operations: + run_operations(pkgman, entry) return None