diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-10-27 09:53:09 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-10-27 09:53:09 +0200 |
commit | 9998c725330b4a99d6d12df60ac8234052e80b6a (patch) | |
tree | 7e1c3691482fd262d02884f0c6ceadeb260757bc /scripts/update.sh | |
parent | f3b637fbfee2fa9f66e53cbadd05e85771eece9d (diff) | |
download | wallabag-9998c725330b4a99d6d12df60ac8234052e80b6a.tar.gz wallabag-9998c725330b4a99d6d12df60ac8234052e80b6a.tar.zst wallabag-9998c725330b4a99d6d12df60ac8234052e80b6a.zip |
Added require.sh to check if composer is installed
Diffstat (limited to 'scripts/update.sh')
-rw-r--r-- | scripts/update.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/update.sh b/scripts/update.sh index b920a829..96a48217 100644 --- a/scripts/update.sh +++ b/scripts/update.sh | |||
@@ -2,6 +2,10 @@ | |||
2 | # You can execute this file to update wallabag | 2 | # You can execute this file to update wallabag |
3 | # eg: `sh update.sh prod` | 3 | # eg: `sh update.sh prod` |
4 | 4 | ||
5 | DIR="${BASH_SOURCE%/*}" | ||
6 | if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi | ||
7 | . "$DIR/require.sh" | ||
8 | |||
5 | ENV=$1 | 9 | ENV=$1 |
6 | TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) | 10 | TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) |
7 | 11 | ||