Skip to content

Commit 029cad0

Browse files
hykilpikonnajrtc27
andcommitted
[PR] dylanaraps/neofetch#2015 from jrtc27 - neofetch: Print MACHINE_ARCH not MACHINE for FreeBSD
Upstream PR: dylanaraps/neofetch#2015 Thanks to @jrtc27 Co-authored-by: Jessica Clarke <[email protected]>
2 parents 04d43aa + a20c67a commit 029cad0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neofetch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,8 +1245,8 @@ get_distro() {
12451245
[[ $distro ]] || distro="$os (Unknown)"
12461246

12471247
# Get OS architecture.
1248-
case $os in
1249-
Solaris|AIX|Haiku|IRIX|FreeMiNT)
1248+
case $os-$kernel_name in
1249+
Solaris-*|AIX-*|Haiku-*|IRIX-*|FreeMiNT-*|BSD-FreeBSD)
12501250
machine_arch=$(uname -p)
12511251
;;
12521252

0 commit comments

Comments
 (0)