mirror of
https://github.com/ScoopInstaller/Scoop.git
synced 2026-08-28 09:06:46 +00:00
Fix 'Access denied' error on current directory when resetting.
This commit is contained in:
@@ -723,6 +723,7 @@ function link_current($versiondir) {
|
||||
|
||||
if(test-path $currentdir) {
|
||||
# remove the junction
|
||||
attrib -R /L $currentdir
|
||||
cmd /c rmdir $currentdir
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user