From 485475545d9d45807c459f3af8013553c0a226c1 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 23 Jun 2022 02:00:22 +0200 Subject: [PATCH] fix upgrade --- scripts/upgrade | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 81d8d8c..7c7b64c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -67,6 +67,11 @@ ynh_app_setting_delete --app=$app --key=port ynh_remove_systemd_config +if [[ -d "$final_path/src/" ]] +then + mv $final_path/src/ $final_path/live/ +fi + #================================================= # CREATE DEDICATED USER #=================================================