Skip to content
Snippets Groups Projects
Commit fdd84d1f authored by Rohan Garg's avatar Rohan Garg
Browse files

Don't crash when packageOperations is empty

parent a0a3b4dc
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment