File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 4
4
latest_release_json=$( curl -s https://api.github.com/repos/dotnet/cli-lab/releases/latest)
5
5
download_url=$( echo " $latest_release_json " | grep " browser_download_url" | grep " osx-x64.tar.gz" | cut -d ' "' -f 4)
6
6
filename=$( basename " $download_url " )
7
- echo $download_url
8
- echo $filename
9
- echo $latest_release_json
10
7
curl -L -o " $filename " " $download_url "
11
8
12
9
# Prepare uninstall tool
@@ -15,7 +12,7 @@ uninstall_tool_path=$(find . -name dotnet-core-uninstall)
15
12
chmod +x " $uninstall_tool_path "
16
13
17
14
# Perform uninstall
18
- " $uninstall_tool_path " remove --yes --force --all --aspnet-runtime --verbosity detailed
19
- " $uninstall_tool_path " remove --yes --force --all --hosting-bundle --verbosity detailed
20
- " $uninstall_tool_path " remove --yes --force --all --runtime --verbosity detailed
21
- " $uninstall_tool_path " remove --yes --force --all --sdk --verbosity detailed
15
+ sudo " $uninstall_tool_path " remove --yes --force --all --aspnet-runtime --verbosity detailed
16
+ sudo " $uninstall_tool_path " remove --yes --force --all --hosting-bundle --verbosity detailed
17
+ sudo " $uninstall_tool_path " remove --yes --force --all --runtime --verbosity detailed
18
+ sudo " $uninstall_tool_path " remove --yes --force --all --sdk --verbosity detailed
You can’t perform that action at this time.
0 commit comments