From d80e0ac169f143b85fe4a3363314b44147b37128 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Sun, 9 May 2021 17:36:53 +0200 Subject: [PATCH] cp instead of mv --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 73d0c75..e850b59 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -62,7 +62,6 @@ then 7zr x $final_path/retroarch.7z -o$final_path #mv not working as target directory is not empty cp -R $final_path/retroarch/* $final_path/ - mv $final_path/retroarch/* $final_path/ ynh_secure_remove --file="$final_path/retroarch.7z" ynh_secure_remove --file="$final_path/retroarch" touch $final_path/analytics.js #https://github.com/libretro/RetroArch/issues/4539#issuecomment-473345195 @@ -90,6 +89,8 @@ ynh_script_progression --message="Setting up Multimedia directory..." --weight=9 ynh_multimedia_build_main_dir mkdir -p $final_path/assets/cores/Game ynh_multimedia_addfolder --source_dir="$final_path/assets/cores/Game" --dest_dir="/share/Game" +ynh_add_config --template="../conf/README.GAME" --destination="$final_path/assets/cores/Game/README" +chmod 666 $final_path/assets/cores/Game/README #================================================= # NGINX CONFIGURATION