Skip to content

Commit bad262e

Browse files
authored
dotnet: update install from src script to target .NET 7
1 parent 7d414f4 commit bad262e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/linux/Packaging.Linux/install-from-source.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ verify_existing_dotnet_installation() {
8383
sdks=$(dotnet --list-sdks | cut -c 1-3)
8484

8585
# If we have a supported version installed, return.
86-
supported_dotnet_versions="6.0"
86+
supported_dotnet_versions="7.0"
8787
for v in $supported_dotnet_versions; do
8888
if [ $(echo $sdks | grep "$v") ]; then
8989
echo $sdks
@@ -150,7 +150,7 @@ case "$distribution" in
150150
$sudo_cmd apt update
151151
$sudo_cmd apt install apt-transport-https -y
152152
$sudo_cmd apt update
153-
$sudo_cmd apt install dotnet-sdk-6.0 dpkg-dev -y
153+
$sudo_cmd apt install dotnet-sdk-7.0 dpkg-dev -y
154154
fi
155155
fi
156156
;;

0 commit comments

Comments
 (0)