[firefox] Fixed langpack installation

Jan Horak xhorak at fedoraproject.org
Mon Jan 20 09:33:04 UTC 2014


commit 0e02fc295c680143e509ede9c8eca7a74a52fead
Author: Jan Horak <jhorak at redhat.com>
Date:   Mon Jan 20 10:33:17 2014 +0100

    Fixed langpack installation

 firefox.sh.in |    4 ++--
 firefox.spec  |    5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/firefox.sh.in b/firefox.sh.in
index 7572fe9..f576b2b 100644
--- a/firefox.sh.in
+++ b/firefox.sh.in
@@ -171,9 +171,9 @@ FEDORA_LANGPACK_CONFIG="$MOZ_EXTENSIONS_PROFILE_DIR/.fedora-langpack-install"
 # MOZ_DISABLE_LANGPACKS disables language packs completely
 MOZILLA_DOWN=0
 if ! [ $MOZ_DISABLE_LANGPACKS ] || [ $MOZ_DISABLE_LANGPACKS -eq 0 ]; then
-    if [ -x $MOZ_LIB_DIR/mozilla-xremote-client ]; then
+    if [ -x $MOZ_DIST_BIN/mozilla-xremote-client ]; then
         # Is firefox running?
-        $MOZ_LIB_DIR/mozilla-xremote-client -a firefox 'ping()' > /dev/null 2>&1
+        $MOZ_DIST_BIN/mozilla-xremote-client -a firefox 'ping()' > /dev/null 2>&1
         MOZILLA_DOWN=$?
     fi
 fi
diff --git a/firefox.spec b/firefox.spec
index b298878..08cd8a2 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -85,7 +85,7 @@
 Summary:        Mozilla Firefox Web browser
 Name:           firefox
 Version:        26.0
-Release:        5%{?pre_tag}%{?dist}
+Release:        6%{?pre_tag}%{?dist}
 URL:            http://www.mozilla.org/projects/firefox/
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
 Group:          Applications/Internet
@@ -629,6 +629,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 #---------------------------------------------------------------------
 
 %changelog
+* Mon Jan 20 2014 Jan Horak <jhorak at redhat.com> - 26.0-6
+- Fixed langpack installation
+
 * Thu Jan  9 2014 Jan Horak <jhorak at redhat.com> - 26.0-5
 - Build standalone firefox package without dependency on xulrunner
 


More information about the scm-commits mailing list