diff --git a/scripts/upgrade b/scripts/upgrade index e4401f7..c34faed 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -40,10 +40,6 @@ fi #Remove previous added repository ynh_remove_extra_repo -if ynh_compare_current_package_version --comparison lt --version 2024.05.01~ynh1; then - ynh_exec_warn_less ynh_exec_as "$app" RAILS_ENV=production COREPACK_ENABLE_DOWNLOAD_PROMPT=0 "$ynh_ruby_load_path" "$ld_preload" bin/bundle exec rails db:encryption:init -fi - if [[ -z "${db_deterministic_key:-}" ]]; then db_deterministic_key=$(ynh_string_random --length=32) ynh_app_setting_set --app="$app" --key="db_deterministic_key" --value="$db_deterministic_key"