Skip to content

Commit e75f395

Browse files
committed
fix: update script failure on Apple Silicon (arm64)
1 parent 12fab70 commit e75f395

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

global_install_scripts/update_talisman.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ shopt -s extglob
55
DEBUG=${DEBUG:-''}
66
FORCE_DOWNLOAD=${FORCE_DOWNLOAD:-''}
77
declare UPDATE_TYPE=""
8+
E_UNSUPPORTED_ARCH=5
89
if [[ $# -gt 0 && $1 =~ talisman-binary.* ]]; then
910
UPDATE_TYPE='talisman-binary'
1011
fi
@@ -92,7 +93,7 @@ function run() {
9293
OS="${OS}_arm64"
9394
;;
9495
*)
95-
echo_error "Talisman currently only supports x86 and x86_64 architectures."
96+
echo_error "Talisman currently only supports x86, x86_64 and arm64 architectures."
9697
echo_error "If this is a problem for you, please open an issue: https://github.com/${INSTALL_ORG_REPO}/issues/new"
9798
exit $E_UNSUPPORTED_ARCH
9899
;;

0 commit comments

Comments
 (0)