diff --git a/Build/CI/install-env.sh b/Build/CI/install-env.sh index 9b4a64576..3ff2d93ad 100755 --- a/Build/CI/install-env.sh +++ b/Build/CI/install-env.sh @@ -1,10 +1,10 @@ #!/bin/bash -whereis dotnet sudo apt remove --purge dotnet* sudo apt remove --purge aspnetcore* -rm -rf /usr/lib/dotnet -sudo ln "$HOME/.dotnet/dotnet" /usr/lib/dotnet + +rm -f /usr/bin/dotnet +sudo ln "$HOME/.dotnet/dotnet" /usr/bin/dotnet wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh