From 565839792d2665aa65e5b68083e9196258e28b7d Mon Sep 17 00:00:00 2001 From: Titus PiJean Date: Thu, 26 Jul 2018 18:42:30 +0200 Subject: [PATCH 1/2] Fix unbound $db_pwd in upgrade --- scripts/upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upgrade b/scripts/upgrade index d81cac6..de4b9f2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -19,6 +19,7 @@ domain=$(ynh_app_setting_get $app domain) path_url=$(ynh_app_setting_get $app path) final_path=$(ynh_app_setting_get $app final_path) db_name=$(ynh_app_setting_get $app db_name) +db_pwd=$(ynh_app_setting_get $app db_pwd) #================================================= # ENSURE DOWNWARD COMPATIBILITY From 4fe1fb58fa59a3192795873cd76d080e83ab418f Mon Sep 17 00:00:00 2001 From: Titus PiJean Date: Thu, 26 Jul 2018 21:22:31 +0200 Subject: [PATCH 2/2] Fix mysqlpwd in upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index de4b9f2..75c8ee4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -19,7 +19,7 @@ domain=$(ynh_app_setting_get $app domain) path_url=$(ynh_app_setting_get $app path) final_path=$(ynh_app_setting_get $app final_path) db_name=$(ynh_app_setting_get $app db_name) -db_pwd=$(ynh_app_setting_get $app db_pwd) +db_pwd=$(ynh_app_setting_get $app mysqlpwd) #================================================= # ENSURE DOWNWARD COMPATIBILITY