[pitivi/1.0] flatpak: Fix is_installed for subpackages
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/1.0] flatpak: Fix is_installed for subpackages
- Date: Sat, 21 Jul 2018 14:06:22 +0000 (UTC)
commit b9fc286a1f7160cc01b62fd7cc7302eff667eb86
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Wed Jul 18 21:44:09 2018 +0200
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.
build/flatpak/pitivi-flatpak | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/build/flatpak/pitivi-flatpak b/build/flatpak/pitivi-flatpak
index 6a595ff6..acb23213 100755
--- a/build/flatpak/pitivi-flatpak
+++ b/build/flatpak/pitivi-flatpak
@@ -329,10 +329,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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]