From 7e11892c47a1fb134415cafca724df9899d478e1 Mon Sep 17 00:00:00 2001 From: Alexander Goussas Date: Thu, 23 Jul 2020 20:45:10 -0500 Subject: [PATCH] pacman -Qq outputs to stdout --- .local/bin/ifinstalled | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/ifinstalled b/.local/bin/ifinstalled index e2013a46..ccbaefb8 100755 --- a/.local/bin/ifinstalled +++ b/.local/bin/ifinstalled @@ -6,6 +6,6 @@ # various other scripts for clarity's sake. for x in "$@";do - pacman -Qq "$x" 2>/dev/null || + pacman -Qq "$x" >/dev/null || { notify-send "📦 $x" "must be installed for this function." && exit 1 ;} done