[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)"
|
[[ $distro ]] || distro="$os (Unknown)"
|
||||||
|
|
||||||
# Get OS architecture.
|
# Get OS architecture.
|
||||||
case $os-$kernel_name in
|
case $os in
|
||||||
Solaris-*|AIX-*|Haiku-*|IRIX-*|FreeMiNT-*|BSD-FreeBSD)
|
Solaris|AIX|Haiku|IRIX|FreeMiNT|BSD)
|
||||||
machine_arch=$(uname -p)
|
machine_arch=$(uname -p)
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue