wok diff ruby/receipt @ rev 25063
nfs-utils: update web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 07 20:10:22 2022 +0000 (2022-06-07) |
parents | 1029b9269d40 |
children | b81ceff0b056 |
line diff
1.1 --- a/ruby/receipt Tue Apr 14 15:51:31 2020 +0100 1.2 +++ b/ruby/receipt Tue Jun 07 20:10:22 2022 +0000 1.3 @@ -20,6 +20,13 @@ 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 - $WEB_SITE/en/ 2>/dev/null | \ 1.11 + sed '/eleased/!d;s|.*Ruby ||;s| .*||;q' 1.12 +} 1.13 + 1.14 # Handle cross compilation. 1.15 case "$ARCH" in 1.16 i?86)