wok-current diff dialog/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 73cd26fd8ff2 |
children |
line diff
1.1 --- a/dialog/receipt Fri Feb 18 10:50:23 2022 +0100 1.2 +++ b/dialog/receipt Thu Mar 14 20:28:39 2024 +0000 1.3 @@ -16,10 +16,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 - ftp://ftp.invisible-island.net/dialog/ 2>/dev/null | \ 1.11 - sed '/gz"/!d;s|.*dialog-||;s|.tgz.*||;s|-|_|' | sed '$!d' 1.12 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.13 + sed '/dialog-/!d;/gz"/!d;s|.*dialog-||;s|.t.*||;s|-|_|' | sort -Vr | sed q 1.14 } 1.15 1.16 # Rules to configure and make the package.