wok diff dialog/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | 73cd26fd8ff2 |
children |
line diff
1.1 --- a/dialog/receipt Fri Feb 18 10:50:23 2022 +0100 1.2 +++ b/dialog/receipt Sat Sep 03 09:28:15 2022 +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.