From fbc8fe099b17e63d470aca46ebf21fcc621c5af4 Mon Sep 17 00:00:00 2001 From: icenine451 Date: Tue, 18 Oct 2022 10:07:43 -0400 Subject: [PATCH] Revert "Preserve ES cfg if not doing major update" This reverts commit e89f9f27259359fc972c1a89e42642f1ded1822b. --- retrodeck.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/retrodeck.sh b/retrodeck.sh index 9b972a67..2c2c6e38 100644 --- a/retrodeck.sh +++ b/retrodeck.sh @@ -309,6 +309,10 @@ post_update() { mkdir -pv $rdhome/.logs #this was added later, maybe safe to remove in a few versions + # Resetting es_settings, now we need it but in the future I should think a better solution, maybe with sed + cp -fv /app/retrodeck/es_settings.xml /var/config/emulationstation/.emulationstation/es_settings.xml + + # 0.4 -> 0.5 # Perform save and state migration if needed @@ -439,10 +443,6 @@ post_update() { overwrite_configs=true fi - if [ $overwrite_configs = true ]; then - cp -fv /app/retrodeck/es_settings.xml /var/config/emulationstation/.emulationstation/es_settings.xml # preserve settings if not performing a major update - fi - # Moving PCSX2 Saves if needed if [[ -d /var/config/PCSX2 ]]; then mv -fv /var/config/PCSX2/sstates/* $rdhome/states/ps2/pcsx2