Don't crash when packageOperations is empty
This commit is contained in:
parent
a0a3b4dc49
commit
fdd84d1f99
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user