aboutsummarylogtreecommitdiffstats
path: root/orphans.hook
blob: 45f2d2b2bf7e2613fc439bf78fa45b8b66dffc12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *

[Action]
Description = Orphaned package notification
When = PostTransaction
Exec = /usr/bin/bash -c "/usr/bin/pacman -Qtd || /usr/bin/echo '=> No orphans found.'"
#/etc/pacman.d/hooks/orphans.hook