wok-current diff a2ps/receipt @ rev 25531
Add some current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 27 10:05:50 2023 +0000 (22 months ago) |
parents | bfabe25c21ff |
children | 5926178cd6fa |
line diff
1.1 --- a/a2ps/receipt Sun Feb 13 18:01:32 2022 +0000 1.2 +++ b/a2ps/receipt Mon Feb 27 10:05:50 2023 +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