From 6a85a6027fa021b050a7ecdfaf344c24351fa79d Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Wed, 24 Feb 2021 18:01:36 +0100 Subject: [PATCH] Remove pacman Rns to autoremove orphans, is blocked by pacman's lock anyway --- pacman_hooks/new_orphan.hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.'"