Remove rubygems.org version of gitlab-labkit
This commit is contained in:
parent
02edd76c73
commit
48a7cd8248
1 changed files with 5 additions and 0 deletions
5
debian/gitlab.postinst
vendored
5
debian/gitlab.postinst
vendored
|
@ -88,6 +88,11 @@ runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 0.53.0 "^google-api-clie
|
||||||
# Uninstall rack 3.x
|
# Uninstall rack 3.x
|
||||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~>3.0' "^rack$" >/dev/null; then gem uninstall -v '~>3.0' rack; fi"
|
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~>3.0' "^rack$" >/dev/null; then gem uninstall -v '~>3.0' rack; fi"
|
||||||
|
|
||||||
|
# Uninstall gitlab-labkit since it require jaeger-client '~> 1.1.0'
|
||||||
|
if [ "$(gem which gitlab-labkit)" = "/var/lib/gitlab/.gem/gems/gitlab-labkit-0.29.0/lib/gitlab-labkit.rb" ]; then
|
||||||
|
runuser -u ${gitlab_user} -- sh -c "gem uninstall -v '~> 0.29.0' gitlab-labkit"
|
||||||
|
fi
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
# update Gemfile.lock and yarn.lock, always
|
# update Gemfile.lock and yarn.lock, always
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
Loading…
Reference in a new issue