wok-6.x diff ocaml/receipt @ rev 24079
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 09 10:46:05 2021 +0000 (2021-07-09) |
parents | ad300ac54f56 |
children | 816ad9b606a7 |
line diff
1.1 --- a/ocaml/receipt Thu Jul 08 06:56:08 2021 +0000 1.2 +++ b/ocaml/receipt Fri Jul 09 10:46:05 2021 +0000 1.3 @@ -16,8 +16,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|.*/\(.*\).tar.*|\1|;q' 1.9 + wget -O - ${WGET_URL%/arch*} 2>/dev/null | \ 1.10 + sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q' 1.11 } 1.12 1.13 # Rules to configure and make the package.