From fb95dcd765a685ae9ebf05e1d61e42722d2da8a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 9 Aug 2021 21:03:56 +0200 Subject: [PATCH] Update scripts/upgrade Co-authored-by: Alexandre Aubin --- scripts/upgrade | 12 ------------ 1 file changed, 12 deletions(-) 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 -