wok-current diff openobex/receipt @ rev 24385

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 07 11:38:23 2022 +0000 (2022-02-07)
parents 1a10044dd144
children
line diff
     1.1 --- a/openobex/receipt	Sat Jun 12 09:44:03 2021 +0000
     1.2 +++ b/openobex/receipt	Mon Feb 07 11:38:23 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.