From 36c0fad1a6b55ec4aa126696cc5aa289092238e5 Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Wed, 21 Dec 2011 10:03:00 +0100 Subject: [PATCH] Fixed langpacks loading --- firefox.sh.in | 2 ++ firefox.spec | 4 ++-- 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 - 9.0-2 +* Wed Dec 21 2011 Jan Horak - 9.0-3 - Update to 9.0 * Thu Dec 15 2011 Jan Horak - 9.0-1.beta5