fix pacman hook to not delete the /var/cache/pacman/pkg directory - Fixes https://bugs.archlinux.org/task/63311

Signed-off-by: Linux Ninja <linuxninja@bryangay.com>
This commit is contained in:
Linux Ninja 2019-08-10 02:19:09 -04:00
parent e612e65be1
commit 5d1c81df79

View File

@ -8,4 +8,4 @@ Target = *
Description = Cleaning up package cache...
Depends = coreutils
When = PostTransaction
Exec = /usr/bin/rm -rf /var/cache/pacman/pkg
Exec = /usr/bin/find /var/cache/pacman/pkg/ -type f -delete