Add check if git is installed

Fix #3589
This commit is contained in:
Nicolas Lœuillet 2023-08-02 09:44:14 +02:00 committed by Nicolas Lœuillet
parent a465db607f
commit ef5b43f55c

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