Closed polyh3dron closed 3 years ago
Are you running update_all from ssh and staying on /root ? In that case you would have to go first to /media/fat/Scripts Will handle this better in the future: https://github.com/theypsilon/Update_All_MiSTer/issues/56
@theypsilon Cant you just do this in the beginning of the updater
scriptdir="$(dirname "$(readlink -f "${0}")")"
pushd "${scriptdir}"
(also maybe for cleanliness sake add popd
to the end of the script or exit routine)
or use scriptdir="$(dirname "$(readlink -f "${0}")")"
and refrence ini files as "${scriptdir}/file.ini" ?
@theypsilon Cant you just do this in the beginning of the updater
scriptdir="$(dirname "$(readlink -f "${0}")")" pushd "${scriptdir}"
(also maybe for cleanliness sake add
popd
to the end of the script or exit routine)or use
scriptdir="$(dirname "$(readlink -f "${0}")")"
and refrence ini files as "${scriptdir}/file.ini" ?
Yes, something like this is planned to be added. Is not as straight forward because there is something in place doing that already, and it shouldn't conflict.
pushd works like a stack, so it should not interfere?
pushd works like a stack, so it should not interfere?
I know, I use pushd in most of my scripts, including this one. But path resolution is not trivial in some places, and the changes have to be thoroughly tested before releasing an update.
Good on you for testing thoroughly. Just want to say I have had great success in using scriptdir="$(dirname "$(readlink -f "${0}")")"
to determin the location of my scripts. Even with symlinks
Are you running update_all from ssh and staying on /root ? In that case you would have to go first to /media/fat/Scripts Will handle this better in the future: #56
Yes, I am running this from SSH and staying in /root. I run all of my MiSTer scripts this way since I can’t see the frame buffer terminal from my CRT.
A pretty normal use case, no?
This should be working now as discussed here.
Thanks!
Install Beta Cores is set to "true". A full resync has been forced. The INI file has been cleared/deleted, and settings re-entered. Clear All Cores option in update_all has been used so all cores and MRAs were deleted before the most recent attempt. The Jotego Updater is still only downloading public cores and MRAs for me. No beta cores or MRAs.