wok diff tcpreplay/receipt @ rev 25607

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 19 13:00:59 2023 +0000 (11 months ago)
parents 0c04fc34847a
children b81ceff0b056
line diff
     1.1 --- a/tcpreplay/receipt	Fri Jan 21 10:59:24 2022 +0000
     1.2 +++ b/tcpreplay/receipt	Wed Jul 19 13:00:59 2023 +0000
     1.3 @@ -17,7 +17,7 @@
     1.4  current_version()
     1.5  {
     1.6  	wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
     1.7 -	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
     1.8 +	sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
     1.9  	sed 's| |\n|g' | sed '/^"tcpreplay\//!d;s|^"|https://sourceforge.net/projects/tcpreplay/files/|;s|",||;q' | xargs wget -O - 2>/dev/null | \
    1.10  	sed '/tcpreplay-/!d;/asc/!d;s|.*tcpreplay-||;s|.[zt].*||;s|_|.|g;q' 
    1.11  }