diff --git a/scripts/upgrade b/scripts/upgrade index 912d039..5c93105 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -35,7 +35,7 @@ if [ -z $final_path ]; then ynh_app_setting_set $app final_path $final_path fi -if [ -z "/home/ynh$app"]; then +if [ -z "/home/ynh$app" ]; then mv "/home/ynh$app/data" "$final_path/data" ynh_secure_remove "/home/ynh$app" fi