wok diff check/receipt @ rev 25676
Update some current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 28 15:51:05 2024 +0000 (7 months ago) |
parents | f2701f2b47f2 |
children |
line diff
1.1 --- a/check/receipt Tue Feb 08 17:05:29 2022 +0100 1.2 +++ b/check/receipt Wed Feb 28 15:51:05 2024 +0000 1.3 @@ -16,10 +16,11 @@ 1.4 1.5 HOST_ARCH="i486 arm" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.11 - sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' 1.12 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 1.13 } 1.14 1.15 # Rules to configure and make the package.