wok diff zsh/receipt @ rev 25610

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 21 17:16:04 2023 +0000 (14 months ago)
parents ea7c7014b421
children
line diff
     1.1 --- a/zsh/receipt	Tue Jun 07 08:21:12 2022 +0000
     1.2 +++ b/zsh/receipt	Fri Jul 21 17:16:04 2023 +0000
     1.3 @@ -19,7 +19,7 @@
     1.4  current_version()
     1.5  {
     1.6  	wget -O - ${WGET_URL%/*} 2>/dev/null | \
     1.7 -	sed "/$PACKAGE-/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n1
     1.8 +	sed "/$PACKAGE-/!d;/doc/d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
     1.9  }
    1.10  
    1.11  # Rules to configure and make the package.