Use apk search -x to identify previous version
1 files changed, 1 insertions(+), 1 deletions(-) M sr.ht/buildall.yml
M sr.ht/buildall.yml => sr.ht/buildall.yml +1 -1
@@ 68,7 68,7 @@ tasks: do cd "$package" pkgver="$(get_pkgvar pkgver)" prev_pkgver=$(apk search "$package" | cut -c$((${#package}+2))-) prev_pkgver=$(apk search -x "$package" | cut -c$((${#package}+2))-) prev_pkgrel=$(printf "%s" "$prev_pkgver" | cut -d'-' -f2 | cut -d'r' -f2) if [ "$prev_pkgver" != "$pkgver" ] then