From 8878d6cc8a8af08af470ceab05c9345caa3283f4 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Mon, 6 May 2024 10:48:18 +0200 Subject: [PATCH] ES-DE: added more debug messages in ES-DE folders migration --- functions/post_update.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/functions/post_update.sh b/functions/post_update.sh index 84d39cab..14da3709 100644 --- a/functions/post_update.sh +++ b/functions/post_update.sh @@ -304,20 +304,21 @@ post_update() { log i "In version 0.8.1b, the following changes were made that required config file updates/reset or other changes to the filesystem:" log i "- ES-DE files were moved inside the retrodeck folder, migrating to the new structure" log i "- Give the user the option to reset Ryujinx, which was not properly initialized in 0.8.0b" + log d "ES-DE files were moved inside the retrodeck folder, migrating to the new structure" dir_prep "$rdhome/ES-DE/collections" "/var/config/ES-DE/collections" dir_prep "$rdhome/ES-DE/gamelists" "/var/config/ES-DE/gamelists" log i "Moving ES-DE collections, downloaded_media, gamelist, and themes from \"$rdhome\" to \"$rdhome/ES-DE\"" set_setting_value "$es_settings" "MediaDirectory" "$rdhome/ES-DE/downloaded_media" "es_settings" set_setting_value "$es_settings" "UserThemeDirectory" "$rdhome/ES-DE/themes" "es_settings" - mv -f "$rdhome/themes" "$rdhome/ES-DE/themes" - mv -f "$rdhome/downloaded_media" "$rdhome/ES-DE/downloaded_media" - mv -f "$rdhome/gamelists/"* "$rdhome/ES-DE/gamelists" + mv -f "$rdhome/themes" "$rdhome/ES-DE/themes" && log d "Move of \"$rdhome/themes\" completed" + mv -f "$rdhome/downloaded_media" "$rdhome/ES-DE/downloaded_media" && log d "Move of \"$rdhome/downloaded_media\" completed" + mv -f "$rdhome/gamelists/"* "$rdhome/ES-DE/gamelists" && log d "Move of \"$rdhome/gamelists/\" completed" rm -rf "$rdhome/gamelists" log i "MAME-SA, migrating samples to the new exposed folder: from \"/var/data/mame/assets/samples\" to \"$bios_folder/mame-sa/samples\"" create_dir "$bios_folder/mame-sa/samples" - mv -r "/var/data/mame/assets/samples/"* "$bios_folder/mame-sa/samples" + mv -f "/var/data/mame/assets/samples/"* "$bios_folder/mame-sa/samples" set_setting_value "$mameconf" "samplepath" "$bios_folder/mame-sa/samples" "mame" log i "Installing the missing ScummVM assets and renaming \"$mods_folder/RetroArch/ScummVM/themes\" into \"theme\""