Merge pull request #6788 from wallabag/add-git-check
Add check if git is installed
This commit is contained in:
commit
46ebbfc9a4
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user