diff options
-rwxr-xr-x | deploy.sh | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -8,13 +8,16 @@ fi if command -v vim > /dev/null; then VIMCMD="vim" fi +if command -v git > /dev/null; then + GITCMD="git" +fi if command -v wget > /dev/null; then DLCMD="wget -O" elif command -v curl > /dev/null; then DLCMD="curl -Lo" fi -if [ -z "$UNZIPCMD" ] || [ -z "$VIMCMD" ] || [ -z "$DLCMD" ]; then - echo "requires 'unzip', 'vim', and either 'wget' or 'curl'" +if [ -z "$UNZIPCMD" ] || [ -z "$VIMCMD" ] || [ -z "$DLCMD" ] || [ -z "$GITCMD" ]; then + echo "requires 'unzip', 'vim', 'git', and either 'wget' or 'curl'" exit 1 fi |