11 lines
320 B
Text
11 lines
320 B
Text
[Trigger]
|
|
Operation = Install
|
|
Operation = Upgrade
|
|
Operation = Remove
|
|
Type = Package
|
|
Target = *
|
|
|
|
[Action]
|
|
Description = Checking if a transaction orphaned a package...
|
|
When = PostTransaction
|
|
Exec = /usr/bin/bash -c "/usr/bin/pacman -Qtd && /usr/bin/pacman -Rns $(/usr/bin/pacman -Qdtq) || /usr/bin/echo '=> None found.'"
|