File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,11 @@ curl -L -o "$filename" "$download_url"
88
99# Prepare uninstall tool
1010tar -xzf " $filename "
11- tool_path =$( find . -name dotnet-core-uninstall)
11+ uninstall_tool_path =$( find . -name dotnet-core-uninstall)
1212chmod +x " $tool_path "
1313
1414# Perform uninstall
15- " $tool_path " remove --all
15+ " $uninstall_tool_path " remove --all --aspnet-runtime
16+ " $uninstall_tool_path " remove --all --hosting-bundle
17+ " $uninstall_tool_path " remove --all --runtime
18+ " $uninstall_tool_path " remove --all --sdk
Original file line number Diff line number Diff line change @@ -14,4 +14,7 @@ while (-not (Test-Path $uninstallToolPath)) {
1414}
1515
1616# Perform uninstall
17- & $uninstallToolPath remove -- all
17+ & $uninstallToolPath remove -- all -- aspnet- runtime
18+ & $uninstallToolPath remove -- all -- hosting- bundle
19+ & $uninstallToolPath remove -- all -- runtime
20+ & $uninstallToolPath remove -- all -- sdk
You can’t perform that action at this time.
0 commit comments