mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-05 08:11:20 +00:00
rustup: fix cragofolder removing
This commit is contained in:
parent
d8a1fff018
commit
0757d88b2b
@ -22,7 +22,7 @@
|
||||
if(Test-Path $cargoFolderDestination)
|
||||
{
|
||||
Write-Host -F yellow \"Removing existing .cargo folder from scoop's persistent rustup data directory.\"
|
||||
Remove-Item -Recurse $cargoFolderDestination
|
||||
[System.IO.Directory]::Delete($cargoFolderDestination,$true)
|
||||
}
|
||||
Write-Host -F yellow \"Moving '$cargoFolder' to '$persist_dir'\"
|
||||
Move-Item -Force \"$cargoFolder\" \"$persist_dir\"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user