From c1517692b877c79c3a0bf20ce60106eaa01cfac0 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Mon, 6 May 2024 14:28:37 +0200 Subject: [PATCH] SCUMMVM: forcing the deployment of the unzipped file --- functions/post_update.sh | 4 ++-- functions/prepare_component.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/post_update.sh b/functions/post_update.sh index 630b2e1e..dae1c25c 100644 --- a/functions/post_update.sh +++ b/functions/post_update.sh @@ -323,8 +323,8 @@ post_update() { log i "Installing the missing ScummVM assets and renaming \"$mods_folder/RetroArch/ScummVM/themes\" into \"theme\"" mv -f "$mods_folder/RetroArch/ScummVM/themes" "$mods_folder/RetroArch/ScummVM/theme" - unzip -q "$emuconfigs/retroarch/ScummVM.zip" 'scummvm/extra/*' -d "$mods_folder/RetroArch/ScummVM" - unzip -q "$emuconfigs/retroarch/ScummVM.zip" 'scummvm/theme/*' -d "$mods_folder/RetroArch/ScummVM" + unzip -o -q "$emuconfigs/retroarch/ScummVM.zip" 'scummvm/extra/*' -d "$mods_folder/RetroArch/ScummVM" + unzip -o -q "$emuconfigs/retroarch/ScummVM.zip" 'scummvm/theme/*' -d "$mods_folder/RetroArch/ScummVM" set_setting_value "$ra_scummvm_conf" "themepath" "$mods_folder/RetroArch/ScummVM/theme" "libretro_scummvm" "scummvm" log i "Placing cheats in \"/var/data/mame/cheat\"" diff --git a/functions/prepare_component.sh b/functions/prepare_component.sh index a79175e2..9b702be7 100644 --- a/functions/prepare_component.sh +++ b/functions/prepare_component.sh @@ -108,8 +108,8 @@ prepare_component() { # Specific Settings for ScummVM core cp -fv "$emuconfigs/retroarch/scummvm.ini" "$ra_scummvm_conf" create_dir "$mods_folder/RetroArch/ScummVM/icons" - unzip -q "$emuconfigs/retroarch/ScummVM.zip" 'scummvm/extra/*' -d "$mods_folder/RetroArch/ScummVM" - unzip -q "$emuconfigs/retroarch/ScummVM.zip" 'scummvm/theme/*' -d "$mods_folder/RetroArch/ScummVM" + unzip -o -q "$emuconfigs/retroarch/ScummVM.zip" 'scummvm/extra/*' -d "$mods_folder/RetroArch/ScummVM" + unzip -o -q "$emuconfigs/retroarch/ScummVM.zip" 'scummvm/theme/*' -d "$mods_folder/RetroArch/ScummVM" set_setting_value "$ra_scummvm_conf" "iconspath" "$mods_folder/RetroArch/ScummVM/icons" "libretro_scummvm" "scummvm" set_setting_value "$ra_scummvm_conf" "extrapath" "$mods_folder/RetroArch/ScummVM/extra" "libretro_scummvm" "scummvm" set_setting_value "$ra_scummvm_conf" "themepath" "$mods_folder/RetroArch/ScummVM/theme" "libretro_scummvm" "scummvm"