[pitivi] Partially revert 0cb7b6bd34422f26f7f8aa551bdb406a67f450d8



commit 6bf43f7da042bd55fd44fc70b13f06493603002d
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Wed Sep 14 10:59:02 2016 +0200

    Partially revert 0cb7b6bd34422f26f7f8aa551bdb406a67f450d8
    
    Updating by default is too disruptive when developing. We should be fine
    specifying --update in a few places.

 bin/pitivi.installer.desktop |    2 +-
 build/flatpak/pitivi-flatpak |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/bin/pitivi.installer.desktop b/bin/pitivi.installer.desktop
index 7b9d62d..d9aad33 100755
--- a/bin/pitivi.installer.desktop
+++ b/bin/pitivi.installer.desktop
@@ -4,4 +4,4 @@ Type=Application
 Terminal=true
 Name=Pitivi flatpak installer and updater
 Icon=pitivi
-Exec=bash -c "cd `dirname %k`; echo 'Getting installation script from 
https://git.gnome.org/browse/pitivi/plain/build/flatpak/pitivi-flatpak'; wget 
https://git.gnome.org/browse/pitivi/plain/build/flatpak/pitivi-flatpak -P /tmp/ -O pitivi-flatpak > /dev/null 
2>&1; chmod +x pitivi-flatpak; ./pitivi-flatpak --installer"
+Exec=bash -c "cd `dirname %k`; echo 'Getting installation script from 
https://git.gnome.org/browse/pitivi/plain/build/flatpak/pitivi-flatpak'; wget 
https://git.gnome.org/browse/pitivi/plain/build/flatpak/pitivi-flatpak -P /tmp/ -O pitivi-flatpak > /dev/null 
2>&1; chmod +x pitivi-flatpak; ./pitivi-flatpak --update --installer"
diff --git a/build/flatpak/pitivi-flatpak b/build/flatpak/pitivi-flatpak
index fd1d4ff..120ccc8 100755
--- a/build/flatpak/pitivi-flatpak
+++ b/build/flatpak/pitivi-flatpak
@@ -314,7 +314,7 @@ class PitiviFlatpak:  # pylint: disable=too-many-instance-attributes
         self.app = None
 
         self.packs = []
-        self.update = True
+        self.update = False
         self.devel = False
         self.json = None
         self.args = []
@@ -550,8 +550,8 @@ if __name__ == "__main__":
         prog="pitivi-flatpak")
 
     general = parser.add_argument_group("General")
-    general.add_argument("--noupdate", dest="update",
-                         action="store_false",
+    general.add_argument("--update", dest="update",
+                         action="store_true",
                          help="Update the runtime/sdk/app and rebuild the development environment if needed")
 
     # Only used by the installer to keep the Terminal window open on exit.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]