pacman -Qq outputs to stdout

This commit is contained in:
Alexander Goussas 2020-07-23 20:45:10 -05:00
parent 50a442998b
commit 7e11892c47

View File

@ -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