This repository was archived by the owner on Apr 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed
Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -419,26 +419,17 @@ construct_alt_download_link() {
419419 local channel=$2
420420 local normalized_architecture=$3
421421 local specific_version=${4// [$'\t\r\n']}
422-
422+
423423 local distro_specific_osname
424424 distro_specific_osname=$( get_distro_specific_os_name) || return 1
425425
426426 local alt_download_link=null
427- if [ " $( uname) " = " Linux" ]; then
428- if [ " $shared_runtime " = true ]; then
429- alt_download_link=" $azure_feed /Runtime/$specific_version /dotnet-$distro_specific_osname -$normalized_architecture .$specific_version .tar.gz"
430- else
431- alt_download_link=" $azure_feed /Sdk/$specific_version /dotnet-dev-$distro_specific_osname -$normalized_architecture .$specific_version .tar.gz"
432- fi
427+ if [ " $shared_runtime " = true ]; then
428+ alt_download_link=" $azure_feed /Runtime/$specific_version /dotnet-$distro_specific_osname -$normalized_architecture .$specific_version .tar.gz"
433429 else
434- if [ " $shared_runtime " = true ]; then
435- alt_download_link=" $azure_feed /Runtime/$specific_version /dotnet-$osname -$normalized_architecture .$specific_version .tar.gz"
436- else
437- alt_download_link=" $azure_feed /Sdk/$specific_version /dotnet-dev-$osname -$normalized_architecture .$specific_version .tar.gz"
438- fi
430+ alt_download_link=" $azure_feed /Sdk/$specific_version /dotnet-dev-$distro_specific_osname -$normalized_architecture .$specific_version .tar.gz"
439431 fi
440432
441-
442433 echo " $alt_download_link "
443434 return 0
444435}
You can’t perform that action at this time.
0 commit comments