wok-current diff python-click/receipt @ rev 24414
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 11:43:39 2022 +0000 (2022-02-10) |
parents | 1df6fa555414 |
children | d32d64bc318e |
line diff
1.1 --- a/python-click/receipt Thu Jan 13 18:29:05 2022 +0000 1.2 +++ b/python-click/receipt Thu Feb 10 11:43:39 2022 +0000 1.3 @@ -17,7 +17,7 @@ 1.4 1.5 current_version() 1.6 { 1.7 - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' 1.8 + wget -O - $WEB_SITE 2>/dev/null | sed '/click [0-9]/!d;s|.*click ||;q' 1.9 } 1.10 1.11 # Rules to configure and make the package.