wok-6.x diff wicd/receipt @ rev 24414

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 10 11:43:39 2022 +0000 (2022-02-10)
parents 3105f866bc3e
children 7dd01dedad38
line diff
     1.1 --- a/wicd/receipt	Thu Feb 03 12:55:23 2022 +0000
     1.2 +++ b/wicd/receipt	Thu Feb 10 11:43:39 2022 +0000
     1.3 @@ -17,9 +17,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - https://sourceforge.net/projects/wicd/files/wicd-stable/ 2>/dev/null | \
     1.8 -	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
     1.9 -	sed '/scope="row/!d;s|.*/wicd-stable/wicd-||;s|/.*||;q'
    1.10 +	wget -O - https://launchpad.net/wicd 2>/dev/null | \
    1.11 +	sed '/Latest version/!d;s|.* is ||'
    1.12  }
    1.13  
    1.14  # Rules to configure and make the package.