[pitivi] pitivi-git-environment: Update the echo statements for the GSt1 checks



commit 56e2b8d079d5324240b4ef3c2a04072a5cfc41ee
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Mon Oct 1 10:09:45 2012 -0400

    pitivi-git-environment: Update the echo statements for the GSt1 checks

 bin/pitivi-git-environment.sh |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/bin/pitivi-git-environment.sh b/bin/pitivi-git-environment.sh
index 2d6ec3d..e0e420d 100755
--- a/bin/pitivi-git-environment.sh
+++ b/bin/pitivi-git-environment.sh
@@ -26,11 +26,9 @@ MODULES_MINIMAL="gnonlin gst-editing-services gst-python"
 # The following decision has to be made before we've set any env variables,
 # otherwise the script will detect our "gst uninstalled" and think it's the
 # system-wide install.
-if pkg-config --list-all |grep gstreamer-1.0 &>/dev/null
-    then echo "GSt 1.0 is installed, not building it"
+if pkg-config --list-all |grep gstreamer-1.0 &>/dev/null; then
     MODULES=$MODULES_MINIMAL
 else
-    echo "GSt 1.0 is not installed, building it"
     MODULES=$MODULES_ALL
 fi
 
@@ -56,8 +54,9 @@ GI_TYPELIB_PATH=$PITIVI_PREFIX/share/gir-1.0:${GI_TYPELIB_PATH:+:$GI_TYPELIB_PAT
 
 
 if pkg-config --list-all |grep gstreamer-1.0 &>/dev/null; then
-  echo "Using System wide GStreamer 1.0"
+  echo "Using system-wide GStreamer 1.0"
 else
+  echo "Using a local build of GStreamer 1.0"
   # GStreamer ffmpeg libraries
   for path in libavformat libavutil libavcodec libpostproc libavdevice
   do



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