Merge pull request #6788 from wallabag/add-git-check

Add check if git is installed
This commit is contained in:
Nicolas Lœuillet 2023-08-19 16:11:11 +02:00 committed by GitHub
commit 46ebbfc9a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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't install wallabag";
exit 1
}