Search Criteria
Package Details: yaycache-hook 0.1.0-2
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: | 5 | 
| Popularity: | 0.016882 | 
| First Submitted: | 2024-02-14 17:19 (UTC) | 
| Last Updated: | 2025-05-01 16:57 (UTC) | 
Latest Comments
witt.9099 commented on 2025-07-26 16:23 (UTC)
need
--remove-build-fileswitt.9099 commented on 2025-07-24 06:44 (UTC)
Can the script add the function of cleaning the downloaded files? The downloaded content also takes up a lot of space.
witt.9099 commented on 2025-05-07 06:28 (UTC)
You can get the default user home directory using
${SUDO_HOME}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_dirsarray then by defaultyaycachewill 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