Commit b114da72 authored by Alexandru Băluț's avatar Alexandru Băluț Committed by Thibault Saunier

flatpak: Fix is_installed for subpackages

flatpak info returns an error if there are multiple versions of the
subpackage installed, requiring one of them to be specified.
parent 7d0c355c
......@@ -328,10 +328,10 @@ class FlatpakPackage(FlatpakObject):
return True
else:
try:
self.flatpak("info", self.name)
self.flatpak("info", self.name, self.branch)
return True
except subprocess.CalledProcessError:
return False
pass
return False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment