File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ install_standalone() {
367
367
fi
368
368
369
369
" $sh_c " mkdir -p " $STANDALONE_INSTALL_PREFIX /bin"
370
- if [ " $STANDALONE_ARCHIVE_FORMAT " == tar.gz ]; then
370
+ if [ " $STANDALONE_ARCHIVE_FORMAT " = tar.gz ]; then
371
371
" $sh_c " tar -C " $CACHE_DIR " -xzf " $CACHE_DIR /coder_${VERSION} _${OS} _${ARCH} .tar.gz"
372
372
else
373
373
" $sh_c " unzip -d " $CACHE_DIR " -o " $CACHE_DIR /coder_${VERSION} _${OS} _${ARCH} .zip"
@@ -383,8 +383,8 @@ install_standalone() {
383
383
has_standalone () {
384
384
case $ARCH in
385
385
amd64) return 0 ;;
386
- # We only have amd64 for macOS.
387
- arm64 )
386
+ ard64) return 0 ;;
387
+ armv7 )
388
388
[ " $( distro) " != darwin ]
389
389
return
390
390
;;
@@ -463,6 +463,7 @@ arch() {
463
463
case $uname_m in
464
464
aarch64) echo arm64 ;;
465
465
x86_64) echo amd64 ;;
466
+ armv7l) echo armv7 ;;
466
467
* ) echo " $uname_m " ;;
467
468
esac
468
469
}
You can’t perform that action at this time.
0 commit comments