Skip to content

Commit

Permalink
chore: minor change in install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Tasos Bitsios committed Jan 8, 2025
1 parent 3412ec9 commit 6fd5f50
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,23 +57,21 @@ trap "info Exiting the installation" exit
case $os in
'Darwin x86_64')
platform=amd64-darwin
target=nodekit-$platform
;;
'Darwin arm64')
platform=arm64-darwin
target=nodekit-$platform
;;
'Linux aarch64' | 'Linux arm64')
platform=arm64-linux
target=nodekit-$platform
;;
'Linux x86_64' | *)
platform=amd64-linux
target=nodekit-$platform
;;
esac

target="nodekit-$platform"
url="$release/$target"

echo -e "${Opaque}Downloading:${Reset}${Bold_White} $target ${Reset}from $url"
curl --fail --location --progress-bar --output nodekit "$url" ||
error "Failed to download ${target} from ${release} ${url}"
Expand Down

0 comments on commit 6fd5f50

Please sign in to comment.