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:
parent
cb47fe2763
commit
311c9ce8cb
2 changed files with 2 additions and 2 deletions
|
@ -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/
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue