diff --git a/bootstrap.sh b/bootstrap.sh index 83c4341..cccfd9e 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,4 +1,11 @@ #!/bin/bash + +which git > /dev/null +if [ $? -ne 0 ]; then + echo "Git isn't installed." + exit +fi + git clone https://github.com/nikdoof/dotfiles.git $HOME/.dotfiles > /dev/null cd $HOME/.dotfiles/ for package in bin bash; do