[Xfce4-commits] <midori:master> Check for existence of xmlgrep in opensuse mingw fetcher script

Christian Dywan noreply at xfce.org
Fri Nov 25 01:02:03 CET 2011


Updating branch refs/heads/master
         to e6d97efa433b408f93880da6a6a9bafd73e007ef (commit)
       from e20a92e6ce356585c9b42ede51f616c858399c85 (commit)

commit e6d97efa433b408f93880da6a6a9bafd73e007ef
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Thu Nov 24 01:52:02 2011 +0100

    Check for existence of xmlgrep in opensuse mingw fetcher script

 win32/x86-mingw32-opensuse/install.sh |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/win32/x86-mingw32-opensuse/install.sh b/win32/x86-mingw32-opensuse/install.sh
index ae2817d..fae6161 100755
--- a/win32/x86-mingw32-opensuse/install.sh
+++ b/win32/x86-mingw32-opensuse/install.sh
@@ -21,6 +21,12 @@ then
   UPDATE=yes
 fi
 
+which xmlgrep 2> /dev/null && HAVE_XMLGREP=1 || HAVE_XMLGREP=0
+if [[ "$HAVE_XMLGREP" == "0" ]]; then
+    echo -e "\nPlease install xmlclitools http://robur.slu.se/jensl/xmlclitools\n"
+    exit
+fi
+
 # create download and build directory
 mkdir -p $DOWNLOAD_PATH
 mkdir -p $BUILD_PATH


More information about the Xfce4-commits mailing list