mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-24 23:15:39 +00:00
POST_UPDATE: fixed directory move
This commit is contained in:
parent
e875579159
commit
ad8a271265
|
@ -369,25 +369,25 @@ if [[ $(check_version_is_older_than "0.8.3b") == "true" ]]; then
|
||||||
|
|
||||||
# Move each directory if it exists
|
# Move each directory if it exists
|
||||||
if [[ -d "$rdhome/themes" ]]; then
|
if [[ -d "$rdhome/themes" ]]; then
|
||||||
$move_cmd "$rdhome/themes" "$rdhome/ES-DE/themes" && log d "Move of \"$rdhome/themes\" completed"
|
$move_cmd "$rdhome/themes" "$rdhome/ES-DE/" && log d "Move of \"$rdhome/themes\" completed"
|
||||||
else
|
else
|
||||||
log i "ES-DE themes appears to already have been migrated."
|
log i "ES-DE themes appears to already have been migrated."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -d "$rdhome/downloaded_media" ]]; then
|
if [[ -d "$rdhome/downloaded_media" ]]; then
|
||||||
$move_cmd "$rdhome/downloaded_media" "$rdhome/ES-DE/downloaded_media" && log d "Move of \"$rdhome/downloaded_media\" completed"
|
$move_cmd "$rdhome/downloaded_media" "$rdhome/ES-DE/" && log d "Move of \"$rdhome/downloaded_media\" completed"
|
||||||
else
|
else
|
||||||
log i "ES-DE downloaded media appears to already have been migrated."
|
log i "ES-DE downloaded media appears to already have been migrated."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -d "$rdhome/gamelists" ]]; then
|
if [[ -d "$rdhome/gamelists" ]]; then
|
||||||
$move_cmd "$rdhome/gamelists" "$rdhome/ES-DE/gamelists" && log d "Move of \"$rdhome/gamelists/\" completed"
|
$move_cmd "$rdhome/gamelists" "$rdhome/ES-DE/" && log d "Move of \"$rdhome/gamelists/\" completed"
|
||||||
else
|
else
|
||||||
log i "ES-DE gamelists appears to already have been migrated."
|
log i "ES-DE gamelists appears to already have been migrated."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -d "$rdhome/collections" ]]; then
|
if [[ -d "$rdhome/collections" ]]; then
|
||||||
$move_cmd "$rdhome/collections" "$rdhome/ES-DE/collections" && log d "Move of \"$rdhome/collections/\" completed"
|
$move_cmd "$rdhome/collections" "$rdhome/ES-DE/" && log d "Move of \"$rdhome/collections/\" completed"
|
||||||
else
|
else
|
||||||
log i "ES-DE collections appears to already have been migrated."
|
log i "ES-DE collections appears to already have been migrated."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue