We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After scoop cleanup *, there were nothing cleaned up.
$ scoop cleanup * Everything is shiny now!
Should clear old version, such like
Removing pe-bear: _0.5.5.2.old
I found all the directories like "_$version.old" cannot be deleted.
I changed function Get-InstalledVersion in lib\versions.ps1
lib\versions.ps1
return $versions | Where-Object { ($_ -ne 'current') -or ($_ -like '_*.old*') }
Windows version: 10
OS architecture: 64bit
PowerShell version: 7.2.1
Additional software: [(optional) Current Scoop version: 5602083 (HEAD -> master, tag: 2021-12-26, origin/master, origin/HEAD) fix(schema): Add 'license' definition (#4596)
The text was updated successfully, but these errors were encountered:
@niheaven looks like this was added in #3721. Any reason for excluding *.old folders?
*.old
Sorry, something went wrong.
It's not a bug of Get-InstalledVersion, it's a bug of scoop-cleanup, I'll fix it soon.
Get-InstalledVersion
scoop-cleanup
Emm, it should be fixed by add a new switch to Get-InstalledVersion...
Since _xxx.old is unused, so it is excluded from installed version, but if we want to clean up, it must be listed.
_xxx.old
No branches or pull requests
Bug Report
Current Behavior
After scoop cleanup *, there were nothing cleaned up.
Expected Behavior
Should clear old version, such like
I found all the directories like "_$version.old" cannot be deleted.
Possible Solution
I changed function Get-InstalledVersion in
lib\versions.ps1
System details
Windows version: 10
OS architecture: 64bit
PowerShell version: 7.2.1
Additional software: [(optional)
Current Scoop version:
5602083 (HEAD -> master, tag: 2021-12-26, origin/master, origin/HEAD) fix(schema): Add 'license' definition (#4596)
The text was updated successfully, but these errors were encountered: