wok diff phppgadmin/receipt @ rev 25603
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 18 11:43:32 2023 +0000 (14 months ago) |
parents | 020433b7aef7 |
children |
line diff
1.1 --- a/phppgadmin/receipt Wed Jun 29 11:15:15 2022 +0100 1.2 +++ b/phppgadmin/receipt Tue Jul 18 11:43:32 2023 +0000 1.3 @@ -17,10 +17,11 @@ 1.4 1.5 HOST_ARCH="any" 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|.*/REL_\(.*\).tar.*|\1|;s|-|.|g;q' 1.12 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.13 + sed '/tag\//!d;s|.*tag/[A-Z_]*||;s|".*||;s|-|.|g;q' 1.14 } 1.15 1.16 # Rules to gen a SliTaz package suitable for Tazpkg.