[PR] dylanaraps/neofetch#2191 from pkubaj - Correct architecture detection on *BSD
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2191 Thanks to @pkubaj Co-authored-by: pkubaj <pkubaj@FreeBSD.org>
This commit is contained in:
commit
1456660797
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -1330,8 +1330,8 @@ get_distro() {
|
|||
[[ $distro ]] || distro="$os (Unknown)"
|
||||
|
||||
# Get OS architecture.
|
||||
case $os-$kernel_name in
|
||||
Solaris-*|AIX-*|Haiku-*|IRIX-*|FreeMiNT-*|BSD-FreeBSD)
|
||||
case $os in
|
||||
Solaris|AIX|Haiku|IRIX|FreeMiNT|BSD)
|
||||
machine_arch=$(uname -p)
|
||||
;;
|
||||
|
||||
|
|
Loading…
Reference in a new issue