wok-6.x diff gnucash/receipt @ rev 24415
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 18:04:02 2022 +0000 (2022-02-10) |
parents | 6ef4249c53aa |
children |
line diff
1.1 --- a/gnucash/receipt Fri Oct 19 03:31:12 2018 +0300 1.2 +++ b/gnucash/receipt Thu Feb 10 18:04:02 2022 +0000 1.3 @@ -17,6 +17,13 @@ 1.4 libofx-dev libwebkit-dev libxml2-dev libxslt-dev perl slib zlib-dev intltool \ 1.5 util-linux-uuid-dev libtool" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - 'https://sourceforge.net/projects/gnucash/files/gnucash (stable)/' 2>/dev/null | \ 1.11 + sed '/scope="row/!d;s|.*stable%29/||;s|/.*||;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {