From 981d0ad3296a9af6d373914c29174cc0db6b3e61 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sun, 22 Nov 2020 16:44:41 +0530 Subject: [PATCH] install.sh: fixed issue in dotnet installation by specifying the exact version of runtime required. --- DnsServerApp.NETCore/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DnsServerApp.NETCore/install.sh b/DnsServerApp.NETCore/install.sh index eb6b2e84..82e73b64 100644 --- a/DnsServerApp.NETCore/install.sh +++ b/DnsServerApp.NETCore/install.sh @@ -16,7 +16,7 @@ echo "===============================" echo "" echo "Installing .NET Core Runtime..." -curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -c Current --runtime dotnet --no-path --install-dir $dotnetDir --verbose >> $installLog 2>&1 +curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -c 3.1 --runtime dotnet --no-path --install-dir $dotnetDir --verbose >> $installLog 2>&1 if [ ! -f "/usr/bin/dotnet" ] then