mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 07:04:16 +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:
@@ -19,6 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- Not properly treating a dependency version before comparing with others (could display that a given dependency was not found)
|
||||
|
||||
- Flatpak
|
||||
- displaying duplicate runtimes on the upgrade summary when a runtime is available at the system and user levels
|
||||
- installation level tooltip not being localized
|
||||
- displaying installation level tooltip for not installed apps
|
||||
|
||||
|
||||
@@ -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