mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
Fix for missing ROMs folder
This commit is contained in:
parent
807dc4fbb1
commit
d5fd18a2c3
11
retrodeck.sh
11
retrodeck.sh
|
@ -251,6 +251,17 @@ post_update() {
|
||||||
# post update script
|
# post update script
|
||||||
echo "Executing post-update script"
|
echo "Executing post-update script"
|
||||||
|
|
||||||
|
# Finding existing ROMs folder
|
||||||
|
if [ -d "$default_sd/retrodeck" ]
|
||||||
|
then
|
||||||
|
# ROMs on SD card
|
||||||
|
roms_folder="$default_sd/retrodeck/roms"
|
||||||
|
else
|
||||||
|
# ROMs on Internal
|
||||||
|
roms_folder="$HOME/retrodeck/roms"
|
||||||
|
fi
|
||||||
|
echo "ROMs folder found at $roms_folder"
|
||||||
|
|
||||||
# Unhiding downloaded media from the previous versions
|
# Unhiding downloaded media from the previous versions
|
||||||
if [ -d "$rdhome/.downloaded_media" ]
|
if [ -d "$rdhome/.downloaded_media" ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue