summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xgodot.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/godot.sh b/godot.sh
index 56ae0c4..d0d2c2a 100755
--- a/godot.sh
+++ b/godot.sh
@@ -4,7 +4,12 @@
TARGET=".dotfiles"
if [[ ! -e "${HOME}/${TARGET}" ]]; then
+ if hash git > /dev/null 2>&1 ; then
git clone git://git.animux.de/dotfiles.git "${HOME}/${TARGET}"
+ else
+ echo -e "\033[31m*\033[0m git is not available! This script will NOT work! Exiting..."
+ return
+ fi
fi
pushd $HOME >/dev/null