diff options
-rwxr-xr-x | godot.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |