Changed locale detector to handle Esperanto (rhbz#1656900)
This commit is contained in:
parent
ddb6e5020f
commit
ea5307de1a
@ -191,8 +191,8 @@ if [ $MOZILLA_DOWN -ne 0 ]; then
|
|||||||
CURRENT_LOCALE=${CURRENT_LOCALE:-$LANG}
|
CURRENT_LOCALE=${CURRENT_LOCALE:-$LANG}
|
||||||
|
|
||||||
# Try with a local variant first, then without a local variant
|
# Try with a local variant first, then without a local variant
|
||||||
SHORTMOZLOCALE=`echo $CURRENT_LOCALE | sed "s|_\([^.]*\).*||g"`
|
SHORTMOZLOCALE=`echo $CURRENT_LOCALE | sed "s|_\([^.]*\).*||g" | sed "s|\..*||g"`
|
||||||
MOZLOCALE=`echo $CURRENT_LOCALE | sed "s|_\([^.]*\).*|-\1|g"`
|
MOZLOCALE=`echo $CURRENT_LOCALE | sed "s|_\([^.]*\).*|-\1|g" | sed "s|\..*||g"`
|
||||||
|
|
||||||
function create_langpack_link() {
|
function create_langpack_link() {
|
||||||
local language=$*
|
local language=$*
|
||||||
|
@ -74,7 +74,7 @@ ExcludeArch: armv7hl
|
|||||||
Summary: Mozilla Firefox Web browser
|
Summary: Mozilla Firefox Web browser
|
||||||
Name: firefox
|
Name: firefox
|
||||||
Version: 64.0
|
Version: 64.0
|
||||||
Release: 5%{?pre_tag}%{?dist}
|
Release: 6%{?pre_tag}%{?dist}
|
||||||
URL: https://www.mozilla.org/firefox/
|
URL: https://www.mozilla.org/firefox/
|
||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
|
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
|
||||||
@ -898,6 +898,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 4 2019 Carmen Bianca Bakker <carmenbianca@fedoraproject.org> - 64.0-6
|
||||||
|
- Changed locale detector to handle Esperanto (rhbz#1656900)
|
||||||
|
|
||||||
* Fri Dec 21 2018 Martin Stransky <stransky@redhat.com> - 64.0-5
|
* Fri Dec 21 2018 Martin Stransky <stransky@redhat.com> - 64.0-5
|
||||||
- Test PGO build.
|
- Test PGO build.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user