scripts: check for git in create-uninstalled-setup.sh as well
authorTim-Philipp Müller <tim@centricular.com>
Sat, 20 Feb 2016 00:55:30 +0000 (00:55 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 20 Feb 2016 10:07:56 +0000 (10:07 +0000)
scripts/create-uninstalled-setup.sh

index 6c7c5a5..3a8244d 100755 (executable)
@@ -68,6 +68,8 @@ elif ! bison --version 2>/dev/null >/dev/null; then
   DEPS_OK="no"
 elif ! flex --version 2>/dev/null >/dev/null; then
   DEPS_OK="no"
+elif ! git --version 2>/dev/null >/dev/null; then
+  DEPS_OK="no"
 else
   DEPS_OK="yes"
 fi
@@ -77,7 +79,7 @@ echo "==========================================================================
 echo ""
 echo "  Some very basic build tools or dependencies are missing."
 echo ""
-echo "  Please install the following tools: pkg-config, bison, flex"
+echo "  Please install the following tools: pkg-config, bison, flex, git"
 echo ""
 echo "  and the following libraries: GLib (libglib2.0-dev or glib2-devel)"
 echo "                           and Orc  (liborc-0.4-dev or orc-devel)"