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