Fix: Properly read package name

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2024-10-22 11:54:16 +02:00
parent a5ebc70444
commit 2cf9ed29de
Signed by: luzifer
SSH key fingerprint: SHA256:/xtE5lCgiRDQr8SLxHMS92ZBlACmATUmF1crK16Ks4E

View file

@ -2,7 +2,7 @@
set -euxo pipefail set -euxo pipefail
# Read pkg name # Read pkg name
PKG=$(awk -F '=' '/pkgname=/{ print $2 }' PKGBUILD) PKG=$(awk -F '=' '/^pkgname=/{ print $2 }' PKGBUILD)
# Get latest version # Get latest version
VER=$( VER=$(