Update catalog api url

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-12-02 01:57:20 +01:00
parent 562921ccad
commit 6424c47d5a
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -5,7 +5,7 @@ set -euxo pipefail
PKG=$(awk -F '=' '/pkgname=/{ print $2 }' PKGBUILD) PKG=$(awk -F '=' '/pkgname=/{ print $2 }' PKGBUILD)
# Get latest version # Get latest version
VER=$(curl -sSfL "https://lv.luzifer.io/catalog-api/reg/latest.txt?p=version") VER=$(curl -sSfL "https://lv.luzifer.io/v1/catalog/reg/latest/version")
# Insert latest version into PKGBUILD # Insert latest version into PKGBUILD
sed -i \ sed -i \