[PR] dylanaraps/neofetch#2015 from jrtc27 - neofetch: Print MACHINE_ARCH not MACHINE for FreeBSD
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2015 Thanks to @jrtc27 Co-authored-by: Jessica Clarke <jrtc27@jrtc27.com>
This commit is contained in:
commit
029cad082f
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -1245,8 +1245,8 @@ get_distro() {
|
|||
[[ $distro ]] || distro="$os (Unknown)"
|
||||
|
||||
# Get OS architecture.
|
||||
case $os in
|
||||
Solaris|AIX|Haiku|IRIX|FreeMiNT)
|
||||
case $os-$kernel_name in
|
||||
Solaris-*|AIX-*|Haiku-*|IRIX-*|FreeMiNT-*|BSD-FreeBSD)
|
||||
machine_arch=$(uname -p)
|
||||
;;
|
||||
|
||||
|
|
Loading…
Reference in a new issue