dotfiles/.config/pacman/hooks/40-orphans.hook
Sergio Laín dd26468a9c
feat(pacman): new hooks
restart daemons, orphans name changed and new backup boot when new kernel update
2023-11-03 23:40:13 +01:00

11 lines
259 B
Text

[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.'"