rpms/firefox/F-10 firefox.sh.in,1.32,1.33 firefox.spec,1.317,1.318

Jan Horak xhorak at fedoraproject.org
Wed Jan 7 15:48:17 UTC 2009


Author: xhorak

Update of /cvs/pkgs/rpms/firefox/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29771

Modified Files:
	firefox.sh.in firefox.spec 
Log Message:



Index: firefox.sh.in
===================================================================
RCS file: /cvs/pkgs/rpms/firefox/F-10/firefox.sh.in,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- firefox.sh.in	2 Jun 2008 12:49:37 -0000	1.32
+++ firefox.sh.in	7 Jan 2009 15:47:47 -0000	1.33
@@ -140,10 +140,10 @@
 MOZARGS=
 # Try without a local variant first, then with a local variant
 # So that pt-BR doesn't try to use pt for example
-SHORTMOZLOCALE=`echo $LANG | sed "s|_\([^.]*\).*||g"`
+SHORTMOZLOCALE=`echo $LC_MESSAGES | sed "s|_\([^.]*\).*||g"`
 [ -f $MOZ_EXTENSIONS_DIR/langpack-${SHORTMOZLOCALE}@firefox.mozilla.org/chrome/$SHORTMOZLOCALE.jar ] && MOZARGS="-UILocale $SHORTMOZLOCALE"
 
-MOZLOCALE=`echo $LANG | sed "s|_\([^.]*\).*|-\1|g"`
+MOZLOCALE=`echo $LC_MESSAGES | sed "s|_\([^.]*\).*|-\1|g"`
 [ -f $MOZ_EXTENSIONS_DIR/langpack-${MOZLOCALE}@firefox.mozilla.org/chrome/$MOZLOCALE.jar ] && MOZARGS="-UILocale $MOZLOCALE"
 
 # Prepare command line arguments


Index: firefox.spec
===================================================================
RCS file: /cvs/pkgs/rpms/firefox/F-10/firefox.spec,v
retrieving revision 1.317
retrieving revision 1.318
diff -u -r1.317 -r1.318
--- firefox.spec	17 Dec 2008 18:35:34 -0000	1.317
+++ firefox.spec	7 Jan 2009 15:47:47 -0000	1.318
@@ -18,7 +18,7 @@
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
 Version:        3.0.5
-Release:        1%{?dist}
+Release:        2%{?dist}
 URL:            http://www.mozilla.org/projects/firefox/
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
 Group:          Applications/Internet
@@ -322,6 +322,10 @@
 #---------------------------------------------------------------------
 
 %changelog
+* Wed Jan  7 2009 Jan Horak <jhorak at redhat.com> - 3.0.5-2
+- Fixed wrong LANG and LC_MESSAGES variables interpretation (#441973) 
+  in startup script.
+
 * Tue Dec 16 2008 Christopher Aillon <caillon at redhat.com> 3.0.5-1
 - Update to 3.0.5
 




More information about the fedora-extras-commits mailing list