wok diff openobex/receipt @ rev 24497
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 19 14:19:02 2022 +0000 (2022-02-19) |
parents | 1a10044dd144 |
children | a5e183d53960 |
line diff
1.1 --- a/openobex/receipt Sat Jun 12 09:44:03 2021 +0000 1.2 +++ b/openobex/receipt Sat Feb 19 14:19:02 2022 +0000 1.3 @@ -18,7 +18,7 @@ 1.4 current_version() 1.5 { 1.6 wget -O - $WEB_SITE/-/tags 2>/dev/null | \ 1.7 - sed '/tar.gz/!d;s|.*/mainline-\(.*\).tar.gz".*|\1|;q' 1.8 + sed '/tar.gz/!d;/data/d;s|.*/mainline-\(.*\).tar.gz".*|\1|' | sort -Vr | sed q 1.9 } 1.10 1.11 # Rules to configure and make the package.