File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 28
28
arch=$( uname -m)
29
29
if [[ " $arch " == " x86_64" ]]; then
30
30
# Install Go for x86_64
31
- wget https://golang.org/dl/go${GOVERSION} .linux-arm64 .tar.gz
32
- sudo tar -C /usr/local -xzf go${GOVERSION} .linux-arm64 .tar.gz
31
+ wget https://golang.org/dl/go${GOVERSION} .linux-amd64 .tar.gz
32
+ sudo tar -C /usr/local -xzf go${GOVERSION} .linux-amd64 .tar.gz
33
33
elif [[ " $arch " == " aarch64" ]]; then
34
34
# Install Go for arm64
35
35
wget https://golang.org/dl/go${GOVERSION} .linux-arm64.tar.gz
36
36
sudo tar -C /usr/local -xzf go${GOVERSION} .linux-arm64.tar.gz
37
37
elif [[ " $arch " == " armv7l" ]]; then
38
38
# Install Go for armv7l
39
- wget https://golang.org/dl/go${GOVERSION} .linux-armv6l .tar.gz
40
- sudo tar -C /usr/local -xzf go${GOVERSION} .linux-armv6l .tar.gz
39
+ wget https://golang.org/dl/go${GOVERSION} .linux-armv7l .tar.gz
40
+ sudo tar -C /usr/local -xzf go${GOVERSION} .linux-armv7l .tar.gz
41
41
elif [[ " $arch " == " armv6l" ]]; then
42
42
# Install Go for armv6l
43
43
wget https://golang.org/dl/go${GOVERSION} .linux-armv6l.tar.gz
You can’t perform that action at this time.
0 commit comments