~xdavidwu/linux-xdavidwu-xps

a8ff5b8c87e3fe73fe4a2e4bd4634f03c14412d5 — xdavidwu 3 years ago 9663199
checknupdate: fix pkgver parsing
1 files changed, 1 insertions(+), 1 deletions(-)

M checknupdate.sh
M checknupdate.sh => checknupdate.sh +1 -1
@@ 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)