wok diff lzip/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents 1c75fb23b954
children c470ca10c896
line diff
     1.1 --- a/lzip/receipt	Thu Mar 31 08:05:33 2022 +0100
     1.2 +++ b/lzip/receipt	Fri Sep 02 16:30:36 2022 +0000
     1.3 @@ -15,10 +15,11 @@
     1.4  
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10  	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.11 -	sed '/>lzip-/!d;s|.*lzip-||;s|.tar.*||' | sed '$!d'
    1.12 +	sed '/>lzip-/!d;/tar/d;s|.*lzip-||;s|.tar.*||' | sed '$!d'
    1.13  }
    1.14  
    1.15  # Rules to configure and make the package.