wok diff wget/receipt @ rev 25609
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 20 14:03:05 2023 +0000 (14 months ago) |
parents | 1ab5edec3cba |
children |
line diff
1.1 --- a/wget/receipt Wed Aug 03 17:48:43 2022 +0100 1.2 +++ b/wget/receipt Thu Jul 20 14:03:05 2023 +0000 1.3 @@ -27,7 +27,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 - https://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \ 1.9 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.10 } 1.11