wok-current diff ruby/receipt @ rev 24547
updated findutils (4.7.0 -> 4.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 07:40:37 2022 +0100 (2022-02-25) |
parents | 1029b9269d40 |
children | ee7ea90df426 |
line diff
1.1 --- a/ruby/receipt Tue Apr 14 15:51:31 2020 +0100 1.2 +++ b/ruby/receipt Fri Feb 25 07:40:37 2022 +0100 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)