mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 00:24:15 +02:00
[flatpak] fix -> displaying duplicate runtimes on the upgrade summary when a runtime is available at the system and user levels
This commit is contained in:
@@ -630,8 +630,9 @@ class FlatpakManager(SoftwareManager):
|
||||
all_runtimes = []
|
||||
for runtime in runtimes:
|
||||
for partial in partials:
|
||||
if partial.base_id == runtime.id:
|
||||
if partial.installation == runtime.installation and partial.base_id == runtime.id:
|
||||
all_runtimes.append(partial)
|
||||
break
|
||||
|
||||
all_runtimes.append(runtime)
|
||||
return [*all_runtimes, *apps]
|
||||
|
||||
Reference in New Issue
Block a user