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 #=================================================