From 899d3bc55e5e44633f5f2107b1be9d53655733ff Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 12 Jun 2016 16:02:28 +1000 Subject: [PATCH] Fix error with string --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index f7d17221..590c7353 100755 --- a/neofetch +++ b/neofetch @@ -717,7 +717,7 @@ getpackages () { packages="$(("$(ls -l /usr/local/bin/ | grep -v "\(../Cellar/\|brew\)" | wc -l)" - 1))" type -p port >/dev/null 2>&1 && \ - packages="$((packages + :$(port installed 2>/dev/null | wc -l) - 1))" + packages="$((packages + "$(port installed 2>/dev/null | wc -l)" - 1))" type -p brew >/dev/null 2>&1 && \ packages="$((packages + "$(find /usr/local/Cellar -maxdepth 1 2>/dev/null | wc -l)" - 1))"