瀏覽代碼

Correct architecture detection on *BSD

FreeBSD uses uname -p, NetBSD also according to https://www.pkgsrc.org/
pkubaj 2 年之前
父節點
當前提交
b883f5b83b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      neofetch

+ 1 - 1
neofetch

@@ -1218,7 +1218,7 @@ get_distro() {
 
     # Get OS architecture.
     case $os in
-        Solaris|AIX|Haiku|IRIX|FreeMiNT)
+        Solaris|AIX|Haiku|IRIX|FreeMiNT|BSD)
             machine_arch=$(uname -p)
         ;;