wok diff cookutils/receipt @ rev 24069
Add some current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 06 11:01:20 2021 +0000 (2021-07-06) |
parents | 68cf96abc146 |
children | 7d48eab9ceeb |
line diff
1.1 --- a/cookutils/receipt Mon Jul 05 15:00:07 2021 +0000 1.2 +++ b/cookutils/receipt Tue Jul 06 11:01:20 2021 +0000 1.3 @@ -18,8 +18,8 @@ 1.4 1.5 current_version() 1.6 { 1.7 - wget -O - http://hg.slitaz.org/cookutils/ 2>/dev/null | \ 1.8 - sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/cookutils/rev/|;s|<.*||' | \ 1.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 1.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 1.11 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 1.12 } 1.13