From 9c23cc72e8cacf24ef88ffdc68f0879f8b8db558 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Mon, 15 Aug 2022 22:28:40 +0530 Subject: [PATCH] Install omniauth-oauth2 1.7.3 from rubygems.org --- debian/gitlab.postinst | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/gitlab.postinst b/debian/gitlab.postinst index 9dedd7c273..d336971f2c 100755 --- a/debian/gitlab.postinst +++ b/debian/gitlab.postinst @@ -85,6 +85,7 @@ runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 0.16' "^prometheus-c runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 1.3' "^warning$" >/dev/null; then gem install -v '~> 1.3' warning; fi" runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 2.0' "^oauth2$" >/dev/null; then gem install -v '~> 2.0' oauth2; fi" runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 3.13, 3.13.19' "^oj$" >/dev/null; then gem install -v '~> 3.13' oj; fi" +runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 1.0, >= 1.7.3' "^omniauth-oauth2$" >/dev/null; then gem install -v '~> 1.7.3' omniauth-oauth2; fi" ####################################################################### # update Gemfile.lock and yarn.lock, always