From 8620cdb2c943bba3749ea1baa0533b2978e5318e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Wed, 13 Dec 2023 11:38:13 +0100 Subject: [PATCH] debug --- scripts/upgrade | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 2a0696b..da08d01 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -25,8 +25,10 @@ ynh_systemd_action --service_name=$app --action="stop" #================================================= ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 +cat /etc/yunohost/apps/$app/settings.yml + # Transfer and delete the old "password" key -if [ -z "${userpass:-}" ]; then +if [ -z "$userpass" ]; then userpass="$password" ynh_app_setting_set --app="$app" --key="userpass" --value="$userpass" ynh_app_setting_delete --app="$app" --key="password"