pfetch: Fix openbsd package output. Closes #97
This commit is contained in:
parent
35343a4190
commit
f1ae8c17a1
1 changed files with 6 additions and 0 deletions
6
pfetch
6
pfetch
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue