mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 17:09:21 +00:00
Distro [uname]: Remove macOS, add Haiku to use -p
This commit is contained in:
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
Block a user