Ver código fonte

Correct architecture detection on *BSD

FreeBSD uses uname -p, NetBSD also according to https://www.pkgsrc.org/
pkubaj 2 anos atrás
pai
commit
b883f5b83b
1 arquivos alterados com 1 adições e 1 exclusões
  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)
         ;;