1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/retroarch_ynh.git synced 2024-09-03 20:16:12 +02:00

cp instead of mv

This commit is contained in:
Krakinou 2021-05-09 17:36:53 +02:00
parent e4bb61b783
commit d80e0ac169

View file

@ -62,7 +62,6 @@ then
7zr x $final_path/retroarch.7z -o$final_path 7zr x $final_path/retroarch.7z -o$final_path
#mv not working as target directory is not empty #mv not working as target directory is not empty
cp -R $final_path/retroarch/* $final_path/ 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.7z"
ynh_secure_remove --file="$final_path/retroarch" ynh_secure_remove --file="$final_path/retroarch"
touch $final_path/analytics.js #https://github.com/libretro/RetroArch/issues/4539#issuecomment-473345195 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 ynh_multimedia_build_main_dir
mkdir -p $final_path/assets/cores/Game mkdir -p $final_path/assets/cores/Game
ynh_multimedia_addfolder --source_dir="$final_path/assets/cores/Game" --dest_dir="/share/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 # NGINX CONFIGURATION