also set DOTNET_ROOT environment variable

unsure if this is really needed, but the microsoft docs also mention it
This commit is contained in:
Gered 2024-10-29 21:28:48 -04:00
parent e86d2b332d
commit 8433a7099c

View file

@ -15,5 +15,6 @@ function install_dotnet {
}
if [ -d "${HOME}/.dotnet" ]; then
export PATH=${PATH}:${HOME}/.dotnet:${HOME}/.dotnet/tools
export DOTNET_ROOT=${HOME}/.dotnet
export PATH=${PATH}:${DOTNET_ROOT}:${DOTNET_ROOT}/tools
fi