From e3ccd0d08d0617251f0845fab086dc7e65fdd59a Mon Sep 17 00:00:00 2001 From: 0auBSQ <58159635+0auBSQ@users.noreply.github.com> Date: Sat, 9 Dec 2023 00:53:09 +0900 Subject: [PATCH] fix dotnet install sh script for older linux distros --- install-dotnet-sdk.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) mode change 100644 => 100755 install-dotnet-sdk.sh diff --git a/install-dotnet-sdk.sh b/install-dotnet-sdk.sh old mode 100644 new mode 100755 index b52d3ab1..68aef8ed --- a/install-dotnet-sdk.sh +++ b/install-dotnet-sdk.sh @@ -1 +1,4 @@ -sudo apt install dotnet-sdk-7.0 \ No newline at end of file +wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb +sudo dpkg -i packages-microsoft-prod.deb +rm packages-microsoft-prod.deb +sudo apt-get update && sudo apt-get install -y dotnet-sdk-7.0