[pitivi/1.0] build: Answer automatically y/n questions when updating SDKs
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/1.0] build: Answer automatically y/n questions when updating SDKs
- Date: Sun, 22 Jul 2018 03:19:30 +0000 (UTC)
commit 79e98e51820a5e67eb5a6c4aad738382ae76600d
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Sat Jul 21 02:14:44 2018 +0200
build: Answer automatically y/n questions when updating SDKs
For example:
flatpak update --user org.gnome.Platform 3.28
Updating in user:
org.gnome.Platform/x86_64/3.28 flathub 4afe5ccb6990
org.gnome.Platform.Locale/x86_64/3.28 flathub 1d96abcdc97b
Is this ok [y/n]:
build/flatpak/pitivi-flatpak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/build/flatpak/pitivi-flatpak b/build/flatpak/pitivi-flatpak
index 077037b3..225bcf83 100755
--- a/build/flatpak/pitivi-flatpak
+++ b/build/flatpak/pitivi-flatpak
@@ -349,7 +349,7 @@ class FlatpakPackage(FlatpakObject):
self.install()
return
- self.flatpak("update", self.name, self.branch, show_output=True,
+ self.flatpak("update", self.name, self.branch, "-y", show_output=True,
comment="Updating %s" % self.name)
def run_app(self, *args):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]