wok-current diff nconf/receipt @ rev 25024

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 20:10:17 2022 +0000 (2022-05-18)
parents 970c5ec9a60a
children 73f36875e5a7
line diff
     1.1 --- a/nconf/receipt	Sun May 20 13:28:18 2018 +0200
     1.2 +++ b/nconf/receipt	Wed May 18 20:10:17 2022 +0000
     1.3 @@ -12,6 +12,14 @@
     1.4  
     1.5  DEPENDS="mysql php-apache nagios perl perl-dbi perl-dbd-mysql"
     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/nconf/files/nconf/ 2>/dev/null | \
    1.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.12 +	sed '/scope="row/!d;s|.*/nconf/||;s|/.*||;q'
    1.13 +}
    1.14 +
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.16  genpkg_rules()
    1.17  {