Skip to content

Commit

Permalink
Classes: Small fix to adapt to linuxmint/mintcommon@8ec5d4f8f.
Browse files Browse the repository at this point in the history
Runtimes will all get treated the same, even those that have their
own appdata.

This can change once there is the capability to access
appdata from multiple branches of the same runtime, either by
improved appstream api or by implementing this ourselves.
  • Loading branch information
mtwebster committed Jul 15, 2024
1 parent 3892df3 commit 26bbe95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/lib/linuxmint/mintUpdate/Classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def __init__(self, op=None, installer=None, ref=None, installed_ref=None, remote

if pkginfo:
self.name = installer.get_display_name(pkginfo)
elif installed_ref:
elif installed_ref and self.flatpak_type != "runtime":
self.name = installed_ref.get_appdata_name()
else:
self.name = ref.get_name()
Expand Down

0 comments on commit 26bbe95

Please sign in to comment.