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