post_install() {
  set -e
  cd /usr/share/tlspretense
  rm -f Gemfile.lock
  bundle config build.nokogiri --use-system-libraries
  bundle install --path vendor/bundle
}

post_upgrade() {
  post_install "$@"
}
