wok-current diff azpainter/receipt @ rev 24383
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 06 11:51:57 2022 +0000 (2022-02-06) |
parents | 3615521be14e |
children | 7f9e55fc8432 |
line diff
1.1 --- a/azpainter/receipt Wed Feb 02 09:41:22 2022 +0000 1.2 +++ b/azpainter/receipt Sun Feb 06 11:51:57 2022 +0000 1.3 @@ -18,8 +18,8 @@ 1.4 1.5 current_version() 1.6 { 1.7 - wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.8 - sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 1.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.10 + sed '/-\/tags\//!d;s|.*">v*||;s|<.*||' | tail -n1 1.11 } 1.12 1.13 # Rules to configure and make the package.