From 3a4d9bea979033eecd31c2dda62b38173428c0e5 Mon Sep 17 00:00:00 2001 From: gmweaver Date: Tue, 4 Jun 2024 23:10:58 -0700 Subject: [PATCH] more fixes --- install_libpostal.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install_libpostal.sh b/install_libpostal.sh index f2813a6..ed496fc 100755 --- a/install_libpostal.sh +++ b/install_libpostal.sh @@ -25,10 +25,10 @@ esac if [ "$OS" = "Linux" ]; then sudo apt-get install clang curl autoconf automake libtool pkg-config elif [ "$OS" = "Darwin" ]; then - if [ "$ARCH" == *"x86"* ]; then - brew install curl autoconf automake libtool pkg-config - elif [ "$ARCH" == *"arm"* ]; then + if [ "$ARCH" == "arm64" ]; then arch -arm64 brew install curl autoconf automake libtool pkg-config + else + brew install curl autoconf automake libtool pkg-config fi fi