diff --git a/pacman_hooks/new_orphan.hook b/pacman_hooks/new_orphan.hook index 27d044e..6f3a654 100644 --- a/pacman_hooks/new_orphan.hook +++ b/pacman_hooks/new_orphan.hook @@ -8,4 +8,4 @@ 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.'" +Exec = /usr/bin/bash -c "/usr/bin/pacman -Qtd || /usr/bin/echo '=> None found.'"