[pitivi] bin: Fix from repository installation



commit c7d27178b14dca427f999cfa514fff3991a906c5
Author: Thibault Saunier <tsaunier gnome org>
Date:   Wed Apr 27 13:54:59 2016 -0300

    bin: Fix from repository installation

 build/xdg-app/pitivi-bundle |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/build/xdg-app/pitivi-bundle b/build/xdg-app/pitivi-bundle
index 489d2c0..a82266d 100755
--- a/build/xdg-app/pitivi-bundle
+++ b/build/xdg-app/pitivi-bundle
@@ -240,7 +240,7 @@ then
   fi
 fi
 
-if [ -z "$USE_REMOTE" ]
+if [ -z "$APP_INSTALLED" ] && [ -z "$APPLICATION_REPOSITORY" ]
 then
   cd $APPLICATION_REPOSITORY
   DEVELOPMENT_BRANCHNAME=`git branch 2>&1 |grep \* |awk '{ print $2 }'`
@@ -364,7 +364,8 @@ then
 
     exit $exitcode
   fi
-
+else
+  xdg-app run org.pitivi.Pitivi
 fi
 
 


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