wok-current diff ansible/receipt @ rev 24994
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 15 20:25:22 2022 +0000 (2022-05-15) |
parents | 5ea0ce1cecc0 |
children | 4d9080704d27 |
line diff
1.1 --- a/ansible/receipt Tue Jun 08 08:46:05 2021 +0000 1.2 +++ b/ansible/receipt Sun May 15 20:25:22 2022 +0000 1.3 @@ -16,10 +16,11 @@ 1.4 1.5 CONFIG_FILES="/etc/ansible" 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|.*/v\(.*\).tar.*|\1|;q' 1.12 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.13 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.14 } 1.15 1.16 # Rules to configure and make the package.