From f452f712edbe12f49d9ded07af8211787b4e1d23 Mon Sep 17 00:00:00 2001 From: bwt Date: Wed, 2 Feb 2022 16:37:35 -0500 Subject: [PATCH] Improved display of orphaned packages --- orphans.hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orphans.hook b/orphans.hook index cf1223f..6bd0462 100644 --- a/orphans.hook +++ b/orphans.hook @@ -7,4 +7,4 @@ Target=* [Action] Description=Finding orphans... When=PostTransaction -Exec=/usr/bin/bash -c 'echo -e "=> None found.\r=> $(pacman -Qqtd | tr "\n" " ")"' +Exec=/usr/bin/bash -c 'OL="$(pacman -Qtdq | tr "\n" " ")"; echo "=> ${OL:-None Found}"'