mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55:37 -04:00
Don't crash when packageOperations is empty
This commit is contained in:
parent
a0a3b4dc49
commit
fdd84d1f99
1 changed files with 4 additions and 3 deletions
|
@ -76,8 +76,9 @@ def run():
|
||||||
for entry in operations:
|
for entry in operations:
|
||||||
run_operations(pkgman, entry)
|
run_operations(pkgman, entry)
|
||||||
|
|
||||||
operations = libcalamares.globalstorage.value("packageOperations")
|
if libcalamares.globalstorage.contains("pagkageOperations"):
|
||||||
for entry in operations:
|
operations = libcalamares.globalstorage.value("packageOperations")
|
||||||
run_operations(pkgman, entry)
|
for entry in operations:
|
||||||
|
run_operations(pkgman, entry)
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue