wok-6.x diff codec2/receipt @ rev 24066

Add some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 05 15:00:07 2021 +0000 (2021-07-05)
parents 314dd7281637
children 7e911016a644
line diff
     1.1 --- a/codec2/receipt	Thu Feb 13 12:20:32 2020 +0100
     1.2 +++ b/codec2/receipt	Mon Jul 05 15:00:07 2021 +0000
     1.3 @@ -15,7 +15,7 @@
     1.4  current_version()
     1.5  {
     1.6  	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
     1.7 -	sed '/archive.*tar/!d;s|.*archive/v\(.*\).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.