Commit 2d1d689d authored by Muhammad Herdiansyah's avatar Muhammad Herdiansyah

Distro [uname]: Remove macOS, add Haiku to use -p

parent c0fb89ce
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment