mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 01:44:15 +02:00
[fix][flatpak] not able to update partials for Flatpak < 1.5
This commit is contained in:
@@ -23,6 +23,7 @@ class FlatpakApplication(SoftwarePackage):
|
||||
self.installation = installation if installation else 'system'
|
||||
self.i18n = i18n
|
||||
self.base_id = None
|
||||
self.base_ref = None
|
||||
|
||||
if runtime:
|
||||
self.categories = ['runtime']
|
||||
@@ -81,6 +82,7 @@ class FlatpakApplication(SoftwarePackage):
|
||||
partial.base_id = self.id
|
||||
|
||||
if self.ref:
|
||||
partial.base_ref = self.ref
|
||||
partial.ref = '/'.join((partial_id, *self.ref.split('/')[1:]))
|
||||
|
||||
partial.partial = True
|
||||
|
||||
Reference in New Issue
Block a user