|
@@ -1,4 +1,18 @@
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
|
|
+# vim: expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+NEEDS="git qmake make"
|
|
|
|
+for p in $NEEDS; do
|
|
|
|
+ TEST=$(which $p 2> /dev/null)
|
|
|
|
+
|
|
|
|
+ if [ ! -f "$TEST" ]; then
|
|
|
|
+ echo "Sorry, you don't seem to have '$p' installed."
|
|
|
|
+ echo "You need these programs before this script will run: $NEEDS"
|
|
|
|
+ exit
|
|
|
|
+ fi
|
|
|
|
+done
|
|
|
|
+
|
|
|
|
|
|
if [ ! -d "libqwclient" ]; then
|
|
if [ ! -d "libqwclient" ]; then
|
|
git clone https://github.com/buhnemann/libqwclient.git
|
|
git clone https://github.com/buhnemann/libqwclient.git
|