wok diff wireshark/receipt @ rev 25609

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 20 14:03:05 2023 +0000 (11 months ago)
parents 1805f71c5d9f
children
line diff
     1.1 --- a/wireshark/receipt	Fri May 06 11:04:25 2022 +0000
     1.2 +++ b/wireshark/receipt	Thu Jul 20 14:03:05 2023 +0000
     1.3 @@ -19,8 +19,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
     1.8 -	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
     1.9 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.10 +	sed '/Stable Release/!d;s|.*>Stable Release: ||;s|<.*||;q'
    1.11  }
    1.12  
    1.13  # Rules to configure and make the package.