pfetch: Fix openbsd package output. Closes #97

This commit is contained in:
Dylan Araps committed 2021-06-11 07:58:17 +00:00
1 parent 35343a4190
commit f1ae8c17a1
1 file changed
+6
+6
View File
@@ -652,6 +652,12 @@ get_pkgs() {
(IRIX)
packages=$((packages - 3))
;;
# OpenBSD's wc prints whitespace before the output
# which needs to be stripped.
(OpenBSD)
packages=$((packages))
;;
esac
case $packages in