]> granicus.if.org Git - handbrake/commitdiff
flatpak: improve manifest creation script
authorJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 20 Jun 2018 00:39:40 +0000 (17:39 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 20 Jun 2018 00:45:31 +0000 (17:45 -0700)
make script compatible with multiple modules

scripts/create_flatpak_manifest.py

index 59288dcd9c71f964f01b2a0fb65a2acf979d5a36..4800db1766477d4738620b6e170d66a2362d3a01 100755 (executable)
@@ -40,7 +40,7 @@ class FlatpakManifest:
 
             self.finish_args = self.manifest["finish-args"]
             self.modules     = self.manifest["modules"]
-            self.hbmodule    = self.modules[0]
+            self.hbmodule    = self.modules[len(self.modules) - 1]
             self.sources     = [None]
 
             self.hbmodule["sources"]     = self.sources