mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
entrypoint.sh: GITLAB_VERSION is already defined as an environment variable
This commit is contained in:
parent
be49b29551
commit
bba4b0bb13
@ -712,7 +712,6 @@ appInit () {
|
||||
|
||||
# migrate database and compile the assets if the gitlab version or relative_url has changed.
|
||||
CACHE_VERSION=
|
||||
GITLAB_VERSION=$(cat VERSION)
|
||||
[[ -f tmp/cache/VERSION ]] && CACHE_VERSION=$(cat tmp/cache/VERSION)
|
||||
[[ -f tmp/cache/GITLAB_RELATIVE_URL_ROOT ]] && CACHE_GITLAB_RELATIVE_URL_ROOT=$(cat tmp/cache/GITLAB_RELATIVE_URL_ROOT)
|
||||
if [[ ${GITLAB_VERSION} != ${CACHE_VERSION} || ${GITLAB_RELATIVE_URL_ROOT} != ${CACHE_GITLAB_RELATIVE_URL_ROOT} ]]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user