wok diff actionmailer/receipt @ rev 25547
Up utftpd (0.2.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 23 12:22:34 2023 +0000 (20 months ago) |
parents | 63fa34c8d2fa |
children |
line diff
1.1 --- a/actionmailer/receipt Sat Sep 25 17:38:40 2021 +0100 1.2 +++ b/actionmailer/receipt Thu Mar 23 12:22:34 2023 +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 {