Skip to content

Commit

Permalink
fix(cleanup): Hotfix for ScoopInstaller#4681 (ScoopInstaller#4763)
Browse files Browse the repository at this point in the history
  • Loading branch information
niheaven authored Feb 26, 2022
1 parent aa61f19 commit a67937f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

### Performance Improvements

- **uninstall:** Avoid checking all files for unlinking persisted data ([#4681](https://github.com/ScoopInstaller/Scoop/issues/4681))
- **uninstall:** Avoid checking all files for unlinking persisted data ([#4681](https://github.com/ScoopInstaller/Scoop/issues/4681), [#4763](https://github.com/ScoopInstaller/Scoop/issues/4763))

### Code Refactoring

Expand Down
2 changes: 1 addition & 1 deletion libexec/scoop-cleanup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function cleanup($app, $global, $verbose, $cache) {
Write-Host " $version" -NoNewline
$dir = versiondir $app $version $global
# unlink all potential old link before doing recursive Remove-Item
unlink_persist_data $manifest $dir
unlink_persist_data (installed_manifest $app $version $global) $dir
Remove-Item $dir -ErrorAction Stop -Recurse -Force
}
$leftVersions = Get-ChildItem $appDir
Expand Down

0 comments on commit a67937f

Please sign in to comment.