wok diff actionpack/receipt @ rev 24893
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 07 17:00:12 2022 +0000 (2022-04-07) |
parents | 63fa34c8d2fa |
children |
line diff
1.1 --- a/actionpack/receipt Sat Sep 25 17:38:40 2021 +0100 1.2 +++ b/actionpack/receipt Thu Apr 07 17:00:12 2022 +0000 1.3 @@ -16,6 +16,12 @@ 1.4 1.5 COOK_OPT="!repack_src !unpack" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE 2>/dev/null | sed '/versions\//!d;s|.*versions/||;s|".*||;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {