more bugfixes, I hope

This commit is contained in:
2026-02-28 17:39:12 -06:00
parent f82c108022
commit cbda17d930

View File

@@ -20,7 +20,7 @@ cd recalbox-savesync || {
re="'^[yY][eE]?[sS]?$'"
result="0"
while [ "$result" -ne 1 ]; do
while "$result" -ne 1; do
read -rp "\nWhat's your rclone prefix? : " prefix
read -rp "Is $prefix okay? [y/N]: " ans
result="$(grep -E -c "$re" "$ans")"
@@ -28,7 +28,8 @@ done
touch /tmp/savesync
printf "s/<RCLONE_PREFIX>/%s/g\n" "$prefix" >/tmp/savesync
sed -ie "/tmp/savesync" "*.ash"
sed -i -e "/tmp/savesync" "savesync[rungame,endgame](sync).ash"
sed -i -e "/tmp/savesync" "locksync.ash"
rm "/tmp/savesync"
printf "Installing scripts...n"
cp "savesync[rungame,endgame](sync).ash" /recalbox/share/userscripts/