wok diff blktrace/receipt @ rev 24545

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 24 19:32:16 2022 +0000 (2022-02-24)
parents bbb9e95382aa
children
line diff
     1.1 --- a/blktrace/receipt	Sun Feb 06 10:30:31 2022 +0100
     1.2 +++ b/blktrace/receipt	Thu Feb 24 19:32:16 2022 +0000
     1.3 @@ -18,7 +18,7 @@
     1.4  current_version()
     1.5  {
     1.6  	wget -O - ${WGET_URL%/*} 2>/dev/null | \
     1.7 -	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;/git/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     1.8 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;/git/d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     1.9  }
    1.10  
    1.11  # Rules to configure and make the package.