Skip to content

Commit

Permalink
[PR] dylanaraps#2015 from jrtc27 - neofetch: Print MACHINE_ARCH not M…
Browse files Browse the repository at this point in the history
…ACHINE for FreeBSD

Upstream PR: dylanaraps#2015
Thanks to @jrtc27

Co-authored-by: Jessica Clarke <jrtc27@jrtc27.com>
  • Loading branch information
hykilpikonna and jrtc27 committed Jul 31, 2022
2 parents 04d43aa + a20c67a commit 029cad0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -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)
;;

Expand Down

0 comments on commit 029cad0

Please sign in to comment.