Skip to content

Commit c271f2e

Browse files
niheavense35710
authored andcommitted
fix(cleanup): Hotfix for ScoopInstaller#4681 (ScoopInstaller#4763)
1 parent e2516b6 commit c271f2e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
### Performance Improvements
4242

43-
- **uninstall:** Avoid checking all files for unlinking persisted data ([#4681](https://github.com/ScoopInstaller/Scoop/issues/4681))
43+
- **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))
4444

4545
### Code Refactoring
4646

libexec/scoop-cleanup.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function cleanup($app, $global, $verbose, $cache) {
4949
Write-Host " $version" -NoNewline
5050
$dir = versiondir $app $version $global
5151
# unlink all potential old link before doing recursive Remove-Item
52-
unlink_persist_data $manifest $dir
52+
unlink_persist_data (installed_manifest $app $version $global) $dir
5353
Remove-Item $dir -ErrorAction Stop -Recurse -Force
5454
}
5555
$leftVersions = Get-ChildItem $appDir

0 commit comments

Comments
 (0)