[Hotfix] import.sh (#919)

Added the `L` flag for saves to allow copying symlink'd saves (RA, Citra, Dolphin)
This commit is contained in:
rawdatafeel 2023-11-27 13:19:38 -05:00 committed by GitHub
parent 129c77acaa
commit 5af92230d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,7 +95,7 @@ checkSpace "$origin/EmuDeck/saves/" "$emulationPath"
for entry in "$origin/EmuDeck/saves/"*
do
rsync -rav --ignore-existing --progress "$entry" "$emulationPath/saves/" | awk -f $HOME/.config/EmuDeck/backend/rsync.awk | zenity --progress --text="Importing $entry to $emulationPath/saves/" --title="Importing $entry..." --width=400 --percentage=0 --auto-close
rsync -ravL --ignore-existing --progress "$entry" "$emulationPath/saves/" | awk -f $HOME/.config/EmuDeck/backend/rsync.awk | zenity --progress --text="Importing $entry to $emulationPath/saves/" --title="Importing $entry..." --width=400 --percentage=0 --auto-close
done
@ -189,4 +189,4 @@ else
--ok-label="Bye" \
--text="${text}"
fi
fi