mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-05 06:58:50 +00:00
Merge pull request #6788 from wallabag/add-git-check
Add check if git is installed
This commit is contained in:
commit
46ebbfc9a4
1 changed files with 6 additions and 0 deletions
|
@ -7,3 +7,9 @@ if [ ! -f composer.phar ]; then
|
||||||
else
|
else
|
||||||
COMPOSER_COMMAND='./composer.phar'
|
COMPOSER_COMMAND='./composer.phar'
|
||||||
fi
|
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…
Reference in a new issue