mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
Revert "Preserve ES cfg if not doing major update"
This reverts commit e89f9f2725
.
This commit is contained in:
parent
de252afee7
commit
fbc8fe099b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue