mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
POST_UPDATE: code cleanup [skip ci]
This commit is contained in:
parent
75dc0bf237
commit
4cac8e13e2
|
@ -339,15 +339,12 @@ post_update() {
|
|||
fi
|
||||
|
||||
if [[ $(check_version_is_older_than "0.8.2b") == "true" ]]; then
|
||||
if [ -d ] then;
|
||||
log i "Vita3K changed some paths, reflecting them: moving \"/var/data/Vita3K\" in \"/var/config/Vita3K\""
|
||||
mv -f "/var/data/Vita3K" "/var/config/Vita3K"
|
||||
|
||||
log i "Moving ES-DE downloaded_media, gamelist, and themes from \"$rdhome\" to \"$rdhome/ES-DE\" due to a RetroDECK Framework bug"
|
||||
mv -f "$rdhome/themes" "$rdhome/ES-DE/themes" && log d "Move of \"$rdhome/themes\" completed"
|
||||
mv -f "$rdhome/downloaded_media" "$rdhome/ES-DE/downloaded_media" && log d "Move of \"$rdhome/downloaded_media\" completed"
|
||||
mv -f "$rdhome/gamelists/"* "$rdhome/ES-DE/gamelists" && log d "Move of \"$rdhome/gamelists/\" completed" && rm -rf "$rdhome/gamelists"
|
||||
fi
|
||||
fi
|
||||
|
||||
# if [[ $(check_version_is_older_than "0.9.0b") == "true" ]]; then
|
||||
|
|
Loading…
Reference in a new issue