ES-DE: needed update steps

This commit is contained in:
XargonWan 2024-02-25 16:15:40 +01:00
parent f4c240e040
commit 1a0e131354

View file

@ -241,8 +241,13 @@ post_update() {
# - Install RetroDECK controller profile in desired location TODO # - Install RetroDECK controller profile in desired location TODO
# - Change section name in retrodeck.cfg for ABXY button swap preset # - Change section name in retrodeck.cfg for ABXY button swap preset
sed -i 's^nintendo_button_layout^abxy_button_swap^' "$rd_conf" # This is a one-off sed statement as there are no functions for replacing section names sed -i 's^nintendo_button_layout^abxy_button_swap^' "$rd_conf" # This is a one-off sed statement as there are no functions for replacing section names
# in 3.0 .emulationstation was moved into ES-DE # in 3.0 .emulationstation was moved into ES-DE
mv -f /var/config/emulationstation /var/config/ES-DE mv -f /var/config/emulationstation /var/config/ES-DE
mv -f /var/config/ES-DE/.emulationstation/* /var/config/ES-DE
rm -rf /var/config/ES-DE/.emulationstation
rm -f /var/config/ES-DE/es_settings.xml
prepare_component "reset" "es-de"
fi fi
# if [[ $prev_version -le "090" ]]; then # if [[ $prev_version -le "090" ]]; then