mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 23:45:39 +00:00
ES-DE: reset settings while updating
This commit is contained in:
parent
2d47020574
commit
94f069c9b1
|
@ -165,6 +165,7 @@ post_update() {
|
||||||
dir_prep "$rdhome/.downloaded_media" "/var/config/emulationstation/.emulationstation/downloaded_media"
|
dir_prep "$rdhome/.downloaded_media" "/var/config/emulationstation/.emulationstation/downloaded_media"
|
||||||
dir_prep "$rdhome/.themes" "/var/config/emulationstation/.emulationstation/themes"
|
dir_prep "$rdhome/.themes" "/var/config/emulationstation/.emulationstation/themes"
|
||||||
mkdir -pv $rdhome/.logs #this was added later, maybe safe to remove in a few versions
|
mkdir -pv $rdhome/.logs #this was added later, maybe safe to remove in a few versions
|
||||||
|
cp -fv /app/retrodeck/es_settings.xml /var/config/emulationstation/.emulationstation/es_settings.xml #this is resetting es_systems, now we need it but in the future I should think a better solution
|
||||||
ra_init
|
ra_init
|
||||||
standalones_init
|
standalones_init
|
||||||
tools_init
|
tools_init
|
||||||
|
@ -249,7 +250,7 @@ finit() {
|
||||||
mkdir -pv $rdhome/.logs
|
mkdir -pv $rdhome/.logs
|
||||||
|
|
||||||
# XMLSTARLET HERE
|
# XMLSTARLET HERE
|
||||||
cp -f /app/retrodeck/es_settings.xml /var/config/emulationstation/.emulationstation/es_settings.xml
|
cp -fv /app/retrodeck/es_settings.xml /var/config/emulationstation/.emulationstation/es_settings.xml
|
||||||
|
|
||||||
# ES-DE preparing themes and scraped folders
|
# ES-DE preparing themes and scraped folders
|
||||||
dir_prep "$rdhome/.downloaded_media" "/var/config/emulationstation/.emulationstation/downloaded_media"
|
dir_prep "$rdhome/.downloaded_media" "/var/config/emulationstation/.emulationstation/downloaded_media"
|
||||||
|
|
Loading…
Reference in a new issue