1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Remove temporary upgrade code

This commit is contained in:
Salamandar 2024-07-01 15:19:49 +02:00
parent 2732cc2d98
commit 13ff251eff

View file

@ -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"