wok diff firefox-langpack-fr/receipt @ rev 24981
Up pce (20220220-991c55d9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 08 10:57:53 2022 +0000 (2022-05-08) |
parents | 7042a09beaeb |
children | 41a539cfe5f8 |
line diff
1.1 --- a/firefox-langpack-fr/receipt Fri Jun 03 01:02:47 2016 +0300 1.2 +++ b/firefox-langpack-fr/receipt Sun May 08 10:57:53 2022 +0000 1.3 @@ -14,6 +14,13 @@ 1.4 1.5 DEPENDS="firefox" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - http://ftp.mozilla.org/pub/firefox/releases/ 2>/dev/null | \ 1.11 + sed '/firefox\/releases\/[0-9]/!d;s|.*firefox/releases/\([^/]*\)/.*|\1|' | sort -Vr | sed q 1.12 +} 1.13 + 1.14 # Rules to gen a SliTaz package suitable for Tazpkg. 1.15 genpkg_rules() 1.16 {