From a5f443cb864633c6efdd1ee1eb6420543e48aeef Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 29 Nov 2024 11:38:19 +0900 Subject: [PATCH] LOG: removing old ES-DE logs folders --- functions/post_update.sh | 5 ++++- functions/prepare_component.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/functions/post_update.sh b/functions/post_update.sh index c7d63330..52ad1905 100644 --- a/functions/post_update.sh +++ b/functions/post_update.sh @@ -442,6 +442,9 @@ post_update() { update_rd_conf prepare_component "reset" "steam-rom-manager" + rm -rf "$rd_logs_folder/ES-DE" && log d "Removing the logs/ES-DE folder as we don't need it anymore" + rm -rf "$es_source_logs" && mkdir -p "$es_source_logs" + # TODO: check this # rm /var/config/emulationstation/.emulationstation # remving the old symlink to .emulationstation as it might be not needed anymore # TODO: change RETRODECKHOMEDIR/bios/cemu in config/cemu/settings.xml into RETRODECKHOMEDIR/bios/cemu/mlc @@ -456,7 +459,7 @@ post_update() { # ln -s "$bios_folder/cemu/mlc/keys.txt" "/var/data/Cemu/keys.txt" <--- AND THIS SHOULD BE EVEN PUT IN THE PREPARATION SCRIPT # fi # TODO: is this true? - # log i "Since in this version we restored Ryujinx to a main buikd we don't need the symlink anymore." + # log i "Since in this version we restored Ryujinx to a main build we don't need the symlink anymore." # rm "$(dirname $ryujinxconf)/PRConfig.json" fi diff --git a/functions/prepare_component.sh b/functions/prepare_component.sh index ceb7d0fb..838407d9 100644 --- a/functions/prepare_component.sh +++ b/functions/prepare_component.sh @@ -67,7 +67,7 @@ prepare_component() { dir_prep "$rdhome/ES-DE/gamelists" "/var/config/ES-DE/gamelists" dir_prep "$rdhome/ES-DE/collections" "/var/config/ES-DE/collections" dir_prep "$rdhome/ES-DE/custom_systems" "/var/config/ES-DE/custom_systems" - dir_prep "$rd_logs_folder/ES-DE" "$es_source_logs" + #dir_prep "$rd_logs_folder/ES-DE" "$es_source_logs" log d "Generating roms system folders" #es-de --home /var/config/ES-DE --create-system-dirs es-de --create-system-dirs