From 52bb80e0cce2ddc0e1333534b5fdfbd74e8cd111 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 24 Jun 2022 03:36:24 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index ae2fed4..480353a 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -148,8 +148,10 @@ ynh_script_progression --message="Updating a configuration file..." --weight=1 if [ $database = "mysql" ]; then db_type=0 + db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd) elif [ $database = "postgresql" ]; then db_type=1 + db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd) else ynh_die --message="Some problem occured in creating the database, contact maintainer" fi