u
This commit is contained in:
@@ -38,8 +38,6 @@ cd /tmp
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# src: https://gist.github.com/steinwaywhw/a4cd19cda655b8249d908261a62687f8?permalink_comment_id=5097031#gistcomment-5097031
|
# src: https://gist.github.com/steinwaywhw/a4cd19cda655b8249d908261a62687f8?permalink_comment_id=5097031#gistcomment-5097031
|
||||||
|
|
||||||
# Fetch the latest release version
|
# Fetch the latest release version
|
||||||
@@ -51,7 +49,7 @@ latest_version=$(curl -s https://api.github.com/repos/PostgREST/postgrest/releas
|
|||||||
# Construct the download URL
|
# Construct the download URL
|
||||||
download_url="https://github.com/PostgREST/postgrest/releases/download/${latest_version}/postgrest-${latest_version}-linux-static-x86-64.tar.xz"
|
download_url="https://github.com/PostgREST/postgrest/releases/download/${latest_version}/postgrest-${latest_version}-linux-static-x86-64.tar.xz"
|
||||||
|
|
||||||
wget -v -o postgrest.tar.xz ${download_url}
|
wget -O postgrest.tar.xz ${download_url}
|
||||||
|
|
||||||
# Download the tar.gz file
|
# Download the tar.gz file
|
||||||
#curl -L -o "js-debug-dap-${version}.tar.gz" "$download_url"
|
#curl -L -o "js-debug-dap-${version}.tar.gz" "$download_url"
|
||||||
|
|||||||
Reference in New Issue
Block a user