wok-6.x diff babl/receipt @ rev 25443

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 03 09:28:15 2022 +0000 (2022-09-03)
parents bc2b9d9bed6f
children
line diff
     1.1 --- a/babl/receipt	Sun Mar 06 21:04:14 2022 +0000
     1.2 +++ b/babl/receipt	Sat Sep 03 09:28:15 2022 +0000
     1.3 @@ -20,10 +20,9 @@
     1.4  current_version()
     1.5  {
     1.6  	wget -O - https://download.gimp.org/pub/$PACKAGE/ 2>/dev/null | \
     1.7 -	sed "/latest/d;/\[DIR/!d;s|.*href=.\\(.*\\)/.*\".*|https://download.gimp.org/pub/$PACKAGE/\\1|" | sort -Vr | sed q > /tmp/url$$
     1.8 -	cat /tmp/url$$ | xargs wget -O - 2>/dev/null | \
     1.9 +	sed "/latest/d;/\[DIR/!d;s|.*href=.\\(.*\\)/.*\".*|https://download.gimp.org/pub/$PACKAGE/\\1|" | \
    1.10 +	sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
    1.11  	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.12 -	rm -f /tmp/url$$
    1.13  }
    1.14  
    1.15  # Rules to configure and make the package.