wok-6.x diff a2ps/receipt @ rev 24439

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 13 18:01:32 2022 +0000 (2022-02-13)
parents ad8b9ff412d2
children 241fb98cab1c
line diff
     1.1 --- a/a2ps/receipt	Sat Feb 12 18:42:31 2022 +0000
     1.2 +++ b/a2ps/receipt	Sun Feb 13 18:01:32 2022 +0000
     1.3 @@ -17,7 +17,7 @@
     1.4  current_version()
     1.5  {
     1.6  	wget -O - ${WGET_URL%/*} 2>/dev/null | \
     1.7 -	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     1.8 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
     1.9  }
    1.10  
    1.11  # Rules to configure and make the package.