[fix][flatpak] not able to update partials for Flatpak < 1.5

This commit is contained in:
Vinícius Moreira
2020-01-30 16:05:57 -03:00
parent da64ed4fc3
commit 9885aa151b
3 changed files with 23 additions and 3 deletions

View File

@@ -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