Fixed installer a tad

This commit is contained in:
2026-02-28 17:36:56 -06:00
parent 0f549a48d5
commit f82c108022

View File

@@ -26,9 +26,10 @@ while [ "$result" -ne 1 ]; do
result="$(grep -E -c "$re" "$ans")"
done
printf "s/<RCLONE_PREFIX>/%s/g" "$prefix" >"/tmp/savesync.sed"
sed -ie "/tmp/savesync.sed" "*.ash"
rm "/tmp/savesync.sed"
touch /tmp/savesync
printf "s/<RCLONE_PREFIX>/%s/g\n" "$prefix" >/tmp/savesync
sed -ie "/tmp/savesync" "*.ash"
rm "/tmp/savesync"
printf "Installing scripts...n"
cp "savesync[rungame,endgame](sync).ash" /recalbox/share/userscripts/
mkdir -p /recalbox/share/userscripts/manual