Files
vim-ale/git/install.sh
2020-07-13 10:27:38 -06:00

19 lines
399 B
Bash

#!/bin/bash
set -e
set -u
{
if [ -z "$(command -v git)" ]; then
>&2 echo "Error: to install 'git' on Mac or Linux use the built-in package manager."
>&2 echo " for example: apt install -y git"
>&2 echo " for example: xcode-select --install"
# sudo xcodebuild -license accept
exit 1
else
echo "'git' already installed"
fi
}