-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
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
Clear pacman cache #70
Comments
Hello, Thanks a lot for the great suggestion, and the example! |
…he and offers to remove them if there are As suggested in #70, this commit aims to add function to the script to check for old or uninstalled packages in pacman's cache and offers to remove them if there are. The check and removal are based on paccache (from the [pacman-contrib package](https://archlinux.org/packages/extra/x86_64/pacman-contrib/)). The default behavior is to keep the last 3 cached versions of installed packages and remove every cached versions of uninstalled packages. Closes #70
…he and offers to remove them if there are (#71) * Check if there are old or uninstalled cached packages in pacman's cache and offers to remove them if there are As suggested in #70, this commit aims to add function to the script to check for old or uninstalled packages in pacman's cache and offers to remove them if there are. The check and removal are based on paccache (from the [pacman-contrib package](https://archlinux.org/packages/extra/x86_64/pacman-contrib/)). The default behavior is to keep the last 3 cached versions of installed packages and remove every cached versions of uninstalled packages. Closes #70 * Fix var names * Syntax and style changes * Syntax and style changes * Syntax and style changes * Add documentation for the new 'cache checking' function
Feature implemented in #71. I will release |
Hi, Just in case, the latest v1.10.0 release now includes an optional The documentation for the new |
Hello Antiz,
I would add a pull request but I actually don't know how it works :(
I added this to the script on my own to clear the cache, I was doing manually after updates.
Feel free to add and improve you want.
The text was updated successfully, but these errors were encountered: