From 87a5a25cb3f6aba6c320a5792e7631d2135b9b35 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Mon, 5 Aug 2024 11:15:12 +0900 Subject: [PATCH] POST_UPDATE: almost there to fix the ES-DE folder issue, but there are issues --- functions/post_update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions/post_update.sh b/functions/post_update.sh index 935af404..cab2cd80 100644 --- a/functions/post_update.sh +++ b/functions/post_update.sh @@ -404,9 +404,13 @@ if [[ $(check_version_is_older_than "0.8.4b") == "true" ]]; then # In version 0.8.4b, the following changes were made: # - Recovery from a failed move of the themes, downloaded_media and gamelists folder to their new ES-DE locations (AGAIN) + log d "Injecting the new retrodeck/ES-DE subdir into the retrodeck.cfg" sed -i -e '/media_folder=/s|retrodeck/|retrodeck/ES-DE/|g' -e '/themes_folder=/s|retrodeck/|retrodeck/ES-DE/|g' "$rd_conf" && log d "Injection successful" + log d "$(cat "$rd_conf" | grep media_folder)" + log d "$(cat "$rd_conf" | grep themes_folder)" conf_read + conf_write log i "Checking if ES-DE downloaded_media, gamelist, and themes folder must be migrated from \"$rdhome\" to \"$rdhome/ES-DE\" due to a RetroDECK Framework bug"