From fa3a32da4acfeb86267fa231760bfe42e0a8a01c Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Wed, 23 Jan 2019 21:50:05 +0100 Subject: [PATCH] Improve upgrade compat --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 1c185ed..edbd09d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -38,7 +38,7 @@ fi # make sure we have the last code organization if [ ! -d "$final_path/code/" ]; then mkdir "$final_path/code" - mv "$final_path/!(code)" "$final_path/code/" + mv "$final_path"/!(code) "$final_path/code/" mv "$final_path/code/data/media" "$final_path/media" mv "$final_path/code/data/music" "$final_path/import" ynh_app_setting_set "$app" code_migration 1