wok diff bchunk/receipt @ rev 25597
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 16 11:24:03 2023 +0000 (11 months ago) |
parents | e1e1678c5265 |
children |
line diff
1.1 --- a/bchunk/receipt Mon May 02 11:23:24 2022 +0000 1.2 +++ b/bchunk/receipt Sun Jul 16 11:24:03 2023 +0000 1.3 @@ -12,10 +12,11 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 WGET_URL="$WEB_SITE/archive/refs/tags/release/$VERSION.tar.gz" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 - wget -O - ${WGET_URL%/bchunk*}/tags 2>/dev/null | \ 1.11 - sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' 1.12 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.13 + sed '/tag\//!d;s|.*release/v*||;s|[<"].*||;q' 1.14 } 1.15 1.16 # Rules to configure and make the package.