wok diff a2ps/receipt @ rev 24453
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 15 18:29:48 2022 +0000 (2022-02-15) |
parents | bfabe25c21ff |
children | d79ed38ace18 |
line diff
1.1 --- a/a2ps/receipt Sun Feb 13 18:01:32 2022 +0000 1.2 +++ b/a2ps/receipt Tue Feb 15 18:29:48 2022 +0000 1.3 @@ -16,7 +16,7 @@ 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 + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ 1.9 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 1.10 } 1.11