Skip to content

Commit

Permalink
* Use the right URL J:DEF-160
Browse files Browse the repository at this point in the history
  • Loading branch information
JPLachance committed Jun 26, 2023
1 parent d98c315 commit 20a980c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion get-latest-tgf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ install_latest_tgf () {
then
LINUX_ARCH=$(uname -m)
echo 'Installing latest tgf for Linux with arch '$LINUX_ARCH' in' $TGF_PATH '...'
DOWNLOAD_URL=$([ "$LINUX_ARCH" == "x86_64" ] && echo "https://github.com/coveooss/tgf/releases/download/v${TGF_LATEST_VERSION}/tgf_${TGF_LATEST_VERSION}_linux_64-bits.zip" || echo "https://github.com/coveooss/tgf/releases/download/v${TGF_LATEST_VERSION}/tgf_${TGF_LATEST_VERSION}_linux_arm64-bits.zip")
DOWNLOAD_URL=$([ "$LINUX_ARCH" == "x86_64" ] && echo "https://github.com/coveooss/tgf/releases/download/v${TGF_LATEST_VERSION}/tgf_${TGF_LATEST_VERSION}_linux_64-bits.zip" || echo "https://github.com/coveooss/tgf/releases/download/v${TGF_LATEST_VERSION}/tgf_${TGF_LATEST_VERSION}_linux_arm64.zip")
curl -sL $DOWNLOAD_URL | gzip -d > ${TGF} && chmod +x ${TGF} && script_end
elif [[ $(uname -s) == Darwin ]]
then
Expand Down

0 comments on commit 20a980c

Please sign in to comment.