From eca90f8e609e6e39346e411ee566025fd5f8f0b9 Mon Sep 17 00:00:00 2001 From: icenine451 Date: Tue, 23 Jul 2024 08:55:01 -0400 Subject: [PATCH] Change incorrect ES-DE migration folder detection logic --- functions/post_update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/post_update.sh b/functions/post_update.sh index 2d7f8532..571242a7 100644 --- a/functions/post_update.sh +++ b/functions/post_update.sh @@ -353,7 +353,7 @@ post_update() { if [[ $(check_version_is_older_than "0.8.3b") == "true" ]]; then # In version 0.8.3b, the following changes were made: # - Recovery from a failed move of the themes, downloaded_media and gamelists folder to their new ES-DE locations. - if [ ! -d "$rdhome/ES-DE/themes" ] || [ ! -d "$rdhome/ES-DE/downloaded_media" ] || [ ! -d "$rdhome/ES-DE/gamelists" ] || [ ! -d "$rdhome/ES-DE/collections" ]; then + if [ -d "$rdhome/themes" ] || [ -d "$rdhome/downloaded_media" ] || [ -d "$rdhome/gamelists" ] || [ -d "$rdhome/collections" ]; then log i "Moving ES-DE downloaded_media, gamelist, and themes from \"$rdhome\" to \"$rdhome/ES-DE\" due to a RetroDECK Framework bug" if [[ -d "$rdhome/themes" ]]; then move "$rdhome/themes" "$rdhome/ES-DE/themes" && log d "Move of \"$rdhome/themes\" completed"