Update catalog api url

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-12-02 02:05:05 +01:00
parent eaad5e387b
commit 7d2e44c706
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -12,7 +12,7 @@ git reset --hard origin/master
### ---- ### ### ---- ###
echo "Fetching latest version..." echo "Fetching latest version..."
LATEST=$(curl -sSLf 'https://latest.luzifer.io/catalog-api/vault/latest.txt?p=version') LATEST=$(curl -sSLf 'https://lv.luzifer.io/v1/catalog/vault/latest/version')
echo "Getting SHA256SUM for Linux AMD64 version..." echo "Getting SHA256SUM for Linux AMD64 version..."
SHASUM=$(curl -s https://releases.hashicorp.com/vault/${LATEST}/vault_${LATEST}_SHA256SUMS | awk '/linux_amd64/{print $1}') SHASUM=$(curl -s https://releases.hashicorp.com/vault/${LATEST}/vault_${LATEST}_SHA256SUMS | awk '/linux_amd64/{print $1}')