Distro [uname]: Remove macOS, add Haiku to use -p
This commit is contained in:
parent
c0fb89ce40
commit
2d1d689dd0
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -218,7 +218,7 @@ get_distro() {
|
|||
# Get OS architecture.
|
||||
if [[ "$os_arch" == "on" ]]; then
|
||||
case "$os" in
|
||||
"Solaris" | "AIX" | "BSD" | "macOS") machine_arch="$(uname -p)" ;;
|
||||
"Solaris" | "AIX" | "BSD" | "Haiku") machine_arch="$(uname -p)" ;;
|
||||
*) machine_arch="$(uname -m)" ;;
|
||||
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue