Installs the previous patch version 9.0.303 when 9.0.304 is the latest.
And the same for
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 8.0
Installs 8.0.412 when 8.0.413 is the latest.
This works correctly when running the script in WSL Ubuntu 24.04
Installs the previous patch version 9.0.303 when 9.0.304 is the latest.
And the same for
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 8.0Installs 8.0.412 when 8.0.413 is the latest.
This works correctly when running the script in WSL Ubuntu 24.04