Search Criteria
Package Details: yaycache-hook 0.1.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/yaycache-hook.git (read-only, click to copy) |
---|---|
Package Base: | yaycache-hook |
Description: | A configurable hook to cleanup the yay package cache using yaycache |
Upstream URL: | None |
Licenses: | MIT |
Submitter: | aokellermann |
Maintainer: | aokellermann |
Last Packager: | aokellermann |
Votes: | 4 |
Popularity: | 0.86 |
First Submitted: | 2024-02-14 17:19 (UTC) |
Last Updated: | 2024-02-14 17:19 (UTC) |
Latest Comments
kageyama commented on 2024-08-19 09:54 (UTC)
For those who have problem with the config in /etc/yaycache-hook.conf as i had this hook enabled but didn't knew that it was not even working.
You need to add entry in cache_dirs ->
Here <user-name> is important as the hook is a shell script and runs with user-name set to root, so if you don't set the
cach_dirs
array then by defaultyaycache
will scan the directory/home/root/.cache/yay/*/
which is why it won't work.kageyama commented on 2024-08-13 20:10 (UTC) (edited on 2024-08-28 03:18 (UTC) by kageyama)
yaycache-hook has same problem as https://aur.archlinux.org/packages/paccache-hook#comment-985869.
Here's small example ->
Edit: a solution has been found here https://aur.archlinux.org/packages/paccache-hook#comment-988314