wok diff jhead/receipt @ rev 25672
Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 26 14:07:44 2024 +0000 (11 months ago) |
parents | 63ea6aae6de2 |
children |
line diff
1.1 --- a/jhead/receipt Sat Mar 12 13:31:56 2022 +0100 1.2 +++ b/jhead/receipt Mon Feb 26 14:07:44 2024 +0000 1.3 @@ -17,8 +17,8 @@ 1.4 # What is the latest version available today? 1.5 current_version() 1.6 { 1.7 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.8 - sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.10 + sed '/latest/d;/tag\//!d;s|.*tag/v*||;s|".*||;q' 1.11 } 1.12 1.13 # Rules to configure and make the package.