wok diff netdata/receipt @ rev 24694

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 13 12:06:14 2022 +0000 (2022-03-13)
parents ac8ca9758df1
children
line diff
     1.1 --- a/netdata/receipt	Sat Jan 15 15:21:40 2022 +0000
     1.2 +++ b/netdata/receipt	Sun Mar 13 12:06:14 2022 +0000
     1.3 @@ -19,7 +19,7 @@
     1.4  current_version()
     1.5  {
     1.6  	wget -O - ${WGET_URL%/down*} 2>/dev/null | \
     1.7 -	sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
     1.8 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
     1.9  }
    1.10  
    1.11  # Rules to configure and make the package.