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"
8
8
9
9
# Prepare uninstall tool
10
10
tar -xzf " $filename "
11
- tool_path =$( find . -name dotnet-core-uninstall)
11
+ uninstall_tool_path =$( find . -name dotnet-core-uninstall)
12
12
chmod +x " $tool_path "
13
13
14
14
# Perform uninstall
15
- " $tool_path " remove --all
15
+ " $uninstall_tool_path " remove --yes --force --all --aspnet-runtime
16
+ " $uninstall_tool_path " remove --yes --force --all --hosting-bundle
17
+ " $uninstall_tool_path " remove --yes --force --all --runtime
18
+ " $uninstall_tool_path " remove --yes --force --all --sdk
Original file line number Diff line number Diff line change @@ -14,4 +14,7 @@ while (-not (Test-Path $uninstallToolPath)) {
14
14
}
15
15
16
16
# Perform uninstall
17
- & $uninstallToolPath remove -- all
17
+ & $uninstallToolPath remove -- yes -- force -- all -- aspnet- runtime
18
+ & $uninstallToolPath remove -- yes -- force -- all -- hosting- bundle
19
+ & $uninstallToolPath remove -- yes -- force -- all -- runtime
20
+ & $uninstallToolPath remove -- yes -- force -- all -- sdk
You can’t perform that action at this time.
0 commit comments