Correct architecture detection on *BSD
FreeBSD uses uname -p, NetBSD also according to https://www.pkgsrc.org/
This commit is contained in:
parent
ccd5d9f526
commit
b883f5b83b
1 changed files with 1 additions and 1 deletions
2
neofetch
2
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)
|
||||
;;
|
||||
|
||||
|
|
Loading…
Reference in a new issue