From 256c1678d6a6f513606a96439cfa6f71a6ccdc91 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 14 Oct 2019 08:45:07 +0300 Subject: [PATCH] pfetch: fix package count. --- pfetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfetch b/pfetch index 36a578b..6e10f03 100755 --- a/pfetch +++ b/pfetch @@ -508,7 +508,7 @@ get_pkgs() { esac | wc -l ` - log pkgs "${packages:-?}" >&6 + [ "$packages" -gt 1 ] && log pkgs "$packages" >&6 } get_memory() {