uninstall rack 3.x during postinst

This commit is contained in:
Mohammed Bilal 2023-01-26 22:51:05 +05:30
parent 28638a38a2
commit 4494a1038b
No known key found for this signature in database
GPG key ID: B3F5945285219E1F

View file

@ -95,6 +95,9 @@ runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 1.2.2 "^ipaddr$" >/dev/n
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 2.3.2 "^deckar01-task_list$" >/dev/null; then gem install -v 2.3.2 deckar01-task_list; fi"
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 0.53.0 "^google-api-client$" >/dev/null; then gem install -v 0.53.0 google-api-client; fi"
# 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"
#######################################################################
# update Gemfile.lock and yarn.lock, always
#######################################################################