wok diff bootchart/receipt @ rev 25442
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 02 16:30:36 2022 +0000 (2022-09-02) |
parents | 8e41c082cb01 |
children | 73f36875e5a7 |
line diff
1.1 --- a/bootchart/receipt Tue Jan 14 11:29:20 2020 +0100 1.2 +++ b/bootchart/receipt Fri Sep 02 16:30:36 2022 +0000 1.3 @@ -13,6 +13,13 @@ 1.4 1.5 SUGGESTED="pybootchartgui" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE/tags 2>/dev/null | \ 1.11 + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' 1.12 +} 1.13 + 1.14 # Rules to gen a SliTaz package suitable for Tazpkg. 1.15 genpkg_rules() 1.16 {