Updata catalog api url

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-12-02 01:56:25 +01:00
parent b58cfeefb5
commit 1064ebf061
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/nerd-fonts/latest.txt?p=version") VER=$(curl -sSfL "https://lv.luzifer.io/v1/catalog/nerd-fonts/latest/version")
# Insert latest version into PKGBUILD # Insert latest version into PKGBUILD
sed -i \ sed -i \