File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 3030 if [ "\$ ARCH" == "x86_64" ]; then
3131 ARCH=x64
3232 elif [[ "\$ ARCH" == aarch* ]]; then
33- ARCH=arm
33+ ARCH=arm64
3434 elif [[ "\$ ARCH" == "arm64" ]]; then
3535 ARCH=arm64
3636 else
5656 fi
5757 echo "Installing CLI from \$ URL"
5858 if [ \$ (command -v curl) ]; then
59- curl "\$ URL" | tar "\$ TAR_ARGS"
59+ if [ "\$ OS" = "darwin" ]; then
60+ curl "\$ URL" | tar "\$ TAR_ARGS"
61+ else
62+ curl "\$ URL" | tar "\$ TAR_ARGS" --warning=no-unknown-keyword
63+ fi
6064 else
61- wget -O- "\$ URL" | tar "\$ TAR_ARGS"
65+ if [ "\$ OS" = "darwin" ]; then
66+ wget -O- "\$ URL" | tar "\$ TAR_ARGS"
67+ else
68+ wget -O- "\$ URL" | tar "\$ TAR_ARGS" --warning=no-unknown-keyword
69+ fi
6270 fi
6371 # delete old codify bin if exists
6472 rm -f \$ (command -v codify) || true
You can’t perform that action at this time.
0 commit comments