From 7da9fda6db8e9fce02ba0f7871c75b3938f72d92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Mon, 7 Apr 2025 17:11:57 +0200 Subject: feat(roles/_workstation): add paccache hook --- roles/_workstation/pacman/templates/paccache.hook.j2 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 roles/_workstation/pacman/templates/paccache.hook.j2 (limited to 'roles/_workstation/pacman/templates/paccache.hook.j2') diff --git a/roles/_workstation/pacman/templates/paccache.hook.j2 b/roles/_workstation/pacman/templates/paccache.hook.j2 new file mode 100644 index 0000000..77b8f4e --- /dev/null +++ b/roles/_workstation/pacman/templates/paccache.hook.j2 @@ -0,0 +1,11 @@ +[Trigger] +Operation = Upgrade +Operation = Install +Operation = Remove +Type = Package +Target = * + +[Action] +Description = Cleaning pacman cache +When = PostTransaction +Exec = /usr/bin/paccache -rvk2 -- cgit v1.2.3