Explorar o código

Correct architecture detection on *BSD

FreeBSD uses uname -p, NetBSD also according to https://www.pkgsrc.org/
pkubaj %!s(int64=2) %!d(string=hai) anos
pai
achega
b883f5b83b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
         ;;