summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2011-12-21 10:03:00 +0100
committerJan Horak <jhorak@redhat.com>2011-12-21 10:03:00 +0100
commit36c0fad1a6b55ec4aa126696cc5aa289092238e5 (patch)
tree611cd52dd48ca4e5d5ee9e6f4888d7f916e4e43a
parentUpdate to 9.0, fixed src dir (diff)
downloadlibrewolf-fedora-ff-36c0fad1a6b55ec4aa126696cc5aa289092238e5.tar.gz
librewolf-fedora-ff-36c0fad1a6b55ec4aa126696cc5aa289092238e5.tar.bz2
librewolf-fedora-ff-36c0fad1a6b55ec4aa126696cc5aa289092238e5.zip
Fixed langpacks loading
-rw-r--r--firefox.sh.in2
-rw-r--r--firefox.spec4
2 files changed, 4 insertions, 2 deletions
diff --git a/firefox.sh.in b/firefox.sh.in
index bcf31d8..4c476ca 100644
--- a/firefox.sh.in
+++ b/firefox.sh.in
@@ -180,6 +180,8 @@ if [ $MOZILLA_DOWN -ne 0 ]; then
if [ -f $FEDORA_LANGPACK_CONFIG ]; then
rm `cat $FEDORA_LANGPACK_CONFIG` > /dev/null 2>&1
rm $FEDORA_LANGPACK_CONFIG > /dev/null 2>&1
+ # remove all empty langpacks dirs while they block installation of langpacks
+ rmdir $MOZ_EXTENSIONS_PROFILE_DIR/langpack* > /dev/null 2>&1
fi
# Get locale from system
diff --git a/firefox.spec b/firefox.spec
index 5629350..938022d 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -45,7 +45,7 @@
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 9.0
-Release: 2%{?pre_tag}%{?dist}
+Release: 3%{?pre_tag}%{?dist}
URL: http://www.mozilla.org/projects/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@@ -344,7 +344,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
-* Tue Dec 20 2011 Jan Horak <jhorak@redhat.com> - 9.0-2
+* Wed Dec 21 2011 Jan Horak <jhorak@redhat.com> - 9.0-3
- Update to 9.0
* Thu Dec 15 2011 Jan Horak <jhorak@redhat.com> - 9.0-1.beta5
bgstack15