You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "This Feature installs the latest .NET SDK, which includes the .NET CLI and the shared runtime. Options are provided to choose a different version or additional versions.",
local override_switch="$(get_cp_options "$override")"
973
1002
974
1003
cat | uniq |whileread -r file_path;do
975
1004
local path="$(remove_beginning_slash "${file_path#$root_path}")"
@@ -1243,6 +1272,61 @@ downloadwget() {
1243
1272
return 0
1244
1273
}
1245
1274
1275
+
extract_stem() {
1276
+
local url="$1"
1277
+
# extract the protocol
1278
+
proto="$(echo $1| grep :// | sed -e's,^\(.*://\).*,\1,g')"
1279
+
# remove the protocol
1280
+
url="${1/$proto/}"
1281
+
# extract the path (if any) - since we know all of our feeds have a first path segment, we can skip the first one. otherwise we'd use -f2- to get the full path
echo" # Install a .NET SDK of a given Quality from a given Channel"
@@ -1865,4 +1956,4 @@ fi
1865
1956
1866
1957
say "Note that the script does not resolve dependencies during installation."
1867
1958
say "To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the \"Dependencies\" section."
0 commit comments