diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-10-27 07:30:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-27 07:30:50 +0200 |
commit | f3b637fbfee2fa9f66e53cbadd05e85771eece9d (patch) | |
tree | 755d5a262961f494ccb56583a52b9ae2f0fc4ee3 /scripts | |
parent | a5d6a7d8b5662539e82352b959a28531e5535721 (diff) | |
parent | c5ad143e750254adb185ab6956dc87d2585ae54d (diff) | |
download | wallabag-f3b637fbfee2fa9f66e53cbadd05e85771eece9d.tar.gz wallabag-f3b637fbfee2fa9f66e53cbadd05e85771eece9d.tar.zst wallabag-f3b637fbfee2fa9f66e53cbadd05e85771eece9d.zip |
Merge pull request #2500 from wallabag/add-check-composer
Added a check in Makefile to see if composer is installed
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/install.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index 54d0bb78..d7b05a1e 100644 --- a/scripts/install.sh +++ b/scripts/install.sh | |||
@@ -2,6 +2,8 @@ | |||
2 | # You can execute this file to install wallabag | 2 | # You can execute this file to install wallabag |
3 | # eg: `sh install.sh prod` | 3 | # eg: `sh install.sh prod` |
4 | 4 | ||
5 | command -v composer >/dev/null 2>&1 || { echo >&2 "wallabag requires composer but it's not installed (see http://doc.wallabag.org/en/master/user/installation.html). Aborting."; exit 1; } | ||
6 | |||
5 | ENV=$1 | 7 | ENV=$1 |
6 | TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) | 8 | TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) |
7 | 9 | ||