Skip to content

Commit

Permalink
Cleaned up code
Browse files Browse the repository at this point in the history
  • Loading branch information
slashtechno committed Nov 4, 2022
1 parent d4ec0bf commit b8d7f97
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/golang/install
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ VERSION="1.19.2"

case "$arch" in
"64")
ARCH="arm64"
PLATFORM="linux-arm64"
;;
"32")
ARCH="armv6l"
PLATFORM="linux-armv6l"
;;
*)
error "arch variable is not set, can not continue"
PLATFORM="linux-$ARCH"
;;
esac

Expand Down

0 comments on commit b8d7f97

Please sign in to comment.