From 8027cfff9ae98853f9232d13e7c374d0525b96e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Tue, 5 Mar 2024 11:25:41 +0100 Subject: [PATCH] fix upgrade: absolute path --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index d6af6d9..c58435c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -17,7 +17,7 @@ ynh_script_progression --message="Ensuring downward compatibility..." --weight= # Move sources to subdir if [ ! -d "$install_dir/sources" ]; then mkdir "$install_dir/sources" - find . -mindepth 1 -maxdepth 1 ! -name "sources" -exec mv -t sources "{}" + + find . -mindepth 1 -maxdepth 1 ! -name "sources" -exec mv -t "$install_dir/sources" "{}" + fi #=================================================