aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2019-09-26 12:49:51 +0300
committerDylan Araps <dylan.araps@gmail.com>2019-09-26 12:49:51 +0300
commit807cf446716c82ddfb32a698ea4d2d92b7c8c067 (patch)
tree07727f938fe3a93d9a04f10532a7911004c69aaf
parentb9400677178343c29f5fb3f0d12468c9d79c863a (diff)
downloadpfetch-807cf446716c82ddfb32a698ea4d2d92b7c8c067.tar.gz
docs: update
-rwxr-xr-xpfetch6
1 files changed, 6 insertions, 0 deletions
diff --git a/pfetch b/pfetch
index f0db000..fb8923b 100755
--- a/pfetch
+++ b/pfetch
@@ -246,6 +246,12 @@ get_host() {
*BSD*)
host=$(sysctl -n hw.vendor hw.product)
;;
+
+ Haiku)
+ # '$arch' ends up being the hostname(?) on Haiku and
+ # there is no other way to get host information.
+ return
+ ;;
esac
# '$arch' is the cached output from 'uname -m'.