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

Fix call to ynh_setup_source

This commit is contained in:
tituspijean 2022-05-14 19:35:14 +02:00
parent cb47fe2763
commit 311c9ce8cb
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ ynh_script_progression --message="Setting up source files..." --weight=60
ynh_app_setting_set --app=$app --key=final_path --value=$final_path ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
# uncompress and patch done manually as 7z format is not supported # uncompress and patch done manually as 7z format is not supported
ynh_setup_source --dest_dir="$final_path" --source_id=$app ynh_setup_source --dest_dir="$final_path"
#7z archive not handled by ynh and no way to strip component, have to move it manually #7z archive not handled by ynh and no way to strip component, have to move it manually
7zr x $final_path/retroarch.7z -o$final_path 7zr x $final_path/retroarch.7z -o$final_path
mv $final_path/retroarch/* $final_path/ mv $final_path/retroarch/* $final_path/

View file

@ -51,7 +51,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=5 ynh_script_progression --message="Upgrading source files..." --weight=5
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --source_id=$app ynh_setup_source --dest_dir="$final_path"
#7z archive not handled by ynh and no way to strip component, have to move it manually #7z archive not handled by ynh and no way to strip component, have to move it manually
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