Browse Source

Correct architecture detection on *BSD

FreeBSD uses uname -p, NetBSD also according to https://www.pkgsrc.org/
pkubaj 2 năm trước cách đây
mục cha
commit
b883f5b83b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)
         ;;