From a8ff5b8c87e3fe73fe4a2e4bd4634f03c14412d5 Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Fri, 12 Nov 2021 23:09:00 +0800 Subject: [PATCH] checknupdate: fix pkgver parsing --- checknupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checknupdate.sh b/checknupdate.sh index 86220ca..eec0e1d 100755 --- a/checknupdate.sh +++ b/checknupdate.sh @@ -1,7 +1,7 @@ #!/bin/bash git pull --no-edit -VER=$(grep '^_pkgver=' PKGBUILD | cut -d '=' -f 2) +VER=$(grep '^pkgver=' APKBUILD | cut -d '=' -f 2) CURR_VERSION=$(echo $VER | cut -d '.' -f 1) CURR_PATCHLEVEL=$(echo $VER | cut -d '.' -f 2) CURR_SUBLEVEL=$(echo $VER | cut -d '.' -f 3) -- 2.45.2