diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-10-24 22:28:44 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-10-24 22:28:44 +0200 |
commit | c5ad143e750254adb185ab6956dc87d2585ae54d (patch) | |
tree | 4606aae38ca12b292f9655bef1090a47fe8a4ddc /scripts | |
parent | 1172622a071ad6766ce95acab103893a348f1dd9 (diff) | |
download | wallabag-c5ad143e750254adb185ab6956dc87d2585ae54d.tar.gz wallabag-c5ad143e750254adb185ab6956dc87d2585ae54d.tar.zst wallabag-c5ad143e750254adb185ab6956dc87d2585ae54d.zip |
Added a check in Makefile to see if composer is installed
Fix #2498
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 | ||