packageOperations should be a map between operation type and list of packages. It does not make sense for it to be a list of dictionaries, all with the same format. Also makes conversions with QVariant harder.
This commit is contained in:
parent
9d4a636a16
commit
058c7d8913
@ -124,9 +124,6 @@ def run():
|
|||||||
run_operations(pkgman, entry)
|
run_operations(pkgman, entry)
|
||||||
|
|
||||||
if libcalamares.globalstorage.contains("packageOperations"):
|
if libcalamares.globalstorage.contains("packageOperations"):
|
||||||
operations = libcalamares.globalstorage.value("packageOperations")
|
run_operations(libcalamares.globalstorage.value("packageOperations"))
|
||||||
|
|
||||||
for entry in operations:
|
|
||||||
run_operations(pkgman, entry)
|
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user