diff --git a/scripts/require.sh b/scripts/require.sh index 811a5c000..404875a68 100755 --- a/scripts/require.sh +++ b/scripts/require.sh @@ -7,3 +7,9 @@ if [ ! -f composer.phar ]; then else COMPOSER_COMMAND='./composer.phar' fi + +# Check for git +command -v git >/dev/null 2>&1 || +{ echo >&2 "git is not installed. We can' install wallabag"; + exit 1 +}