From 73d29719148e283ace893dd78e283594cf72ebc4 Mon Sep 17 00:00:00 2001 From: Alex Goodman Date: Tue, 14 Dec 2021 10:50:07 -0500 Subject: [PATCH] M1 install.sh script should use zip (#539) Signed-off-by: Alex Goodman --- install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 6a062fdb..e42433ad 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,5 @@ #!/bin/sh set -e -# Code generated by godownloader on 2020-08-10T20:55:46Z. -# usage() { this=$1 @@ -23,7 +21,7 @@ EOF } parse_args() { - #BINDIR is ./bin unless set be ENV + # BINDIR is ./bin unless set be ENV # over-ridden by flag below BINDIR=${BINDIR:-./bin} @@ -99,6 +97,9 @@ adjust_format() { darwin) FORMAT=dmg ;; windows) FORMAT=zip ;; esac + case "${PLATFORM}" in + darwin/arm64) FORMAT=zip ;; + esac true } adjust_os() {