aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpfetch16
1 files changed, 11 insertions, 5 deletions
diff --git a/pfetch b/pfetch
index d56c19e..8977bc1 100755
--- a/pfetch
+++ b/pfetch
@@ -653,6 +653,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
@@ -1395,11 +1401,11 @@ get_ascii() {
([Mm]ac[Oo][Ss]*|[Dd]arwin*)
read_ascii 1 <<-EOF
- ${c1} .:'
- ${c1} _ :'_
- ${c2} .'\`_\`-'_\`\`.
- ${c2}:________.-'
- ${c3}:_______:
+ ${c2} .:'
+ ${c2} _ :'_
+ ${c3} .'\`_\`-'_\`\`.
+ ${c1}:________.-'
+ ${c1}:_______:
${c4} :_______\`-;
${c5} \`._.-._.'
EOF