wok diff dnstop/receipt @ rev 25035
Up libqcow (20210419)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 20 18:11:13 2022 +0000 (2022-05-20) |
parents | 665216a7e2f4 |
children | a66f312c374b |
line diff
1.1 --- a/dnstop/receipt Sat Feb 19 07:41:52 2022 +0100 1.2 +++ b/dnstop/receipt Fri May 20 18:11:13 2022 +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 - https://github.com/measurement-factory/$PACKAGE/commits/master 2>/dev/null | \ 1.10 + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d 1.11 } 1.12 1.13 # Rules to configure and make the package.