diff --git a/scripts/upgrade b/scripts/upgrade index ee0e594..c9aee0e 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -47,17 +47,6 @@ ynh_abort_if_errors #================================================= ynh_script_progression --message="Ensuring downward compatibility..." --time --weight=1 -# If db_name doesn't exist, create it -#if [ -z "$db_name" ]; then -# db_name=$(ynh_sanitize_dbid --db_name=$app) -# ynh_app_setting_set --app=$app --key=db_name --value=$db_name -#fi - -# If final_path doesn't exist, create it -#if [ -z "$final_path" ]; then -# final_path=/var/www/$app -# ynh_app_setting_set --app=$app --key=final_path --value=$final_path -#fi # Cleaning legacy permissions if ynh_legacy_permissions_exists; then @@ -157,4 +146,3 @@ ynh_systemd_action --service_name=nginx --action=reload #================================================= ynh_script_progression --message="Upgrade of $app completed" --time --last -