wok diff firefox-langpack-fr/receipt @ rev 14255
Up: xine-ui (0.99.7)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 26 23:20:15 2013 +0100 (2013-03-26) |
parents | 4b358d344974 |
children | f79ea815af04 |
line diff
1.1 --- a/firefox-langpack-fr/receipt Sat Feb 25 13:55:11 2012 -0500 1.2 +++ b/firefox-langpack-fr/receipt Tue Mar 26 23:20:15 2013 +0100 1.3 @@ -1,30 +1,21 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="firefox-langpack-fr" 1.7 -VERSION="10.0.2" 1.8 +VERSION="17.0.4esr" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="France Language Package for firefox" 1.11 +SHORT_DESC="French Language Package for firefox" 1.12 MAINTAINER="lufeng369@gmail.com" 1.13 DEPENDS="firefox" 1.14 WEB_SITE="http://www.mozilla.com" 1.15 -LANG=`echo $PACKAGE | cut -d'-' -f3 | tr '_' '-'` 1.16 +LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-') 1.17 LANG_DIR="langpack-$LANG@firefox.mozilla.org" 1.18 TARBALL="$PACKAGE-$VERSION.zip" 1.19 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/xpi/fr.xpi" 1.20 +WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/xpi/$LANG.xpi" 1.21 1.22 # Rules to gen a SliTaz package suitable for Tazpkg. 1.23 genpkg_rules() 1.24 { 1.25 - EXTDIR="$fs/usr/lib/firefox/extensions/$LANG_DIR" 1.26 + EXTDIR="$fs/usr/lib/firefox-$VERSION/extensions/$LANG_DIR" 1.27 mkdir -p $EXTDIR 1.28 cp -a $src/* $EXTDIR 1.29 } 1.30 - 1.31 -post_install() 1.32 -{ 1.33 - echo "" 1.34 - echo "Use the code below to change locale of firefox in shell:" 1.35 - echo "sed -i '/pref/s/en-US/$LANG/' /etc/firefox/pref/firefox-l10n.js" 1.36 - echo "" 1.37 -} 1.38 -