[thunderbird/f15] Fixed langpacks loading
Jan Horak
xhorak at fedoraproject.org
Wed Dec 21 09:06:57 UTC 2011
commit 58952be211247a1d9d84cda6d23276c17dc079d1
Author: Jan Horak <jhorak at redhat.com>
Date: Wed Dec 21 10:06:55 2011 +0100
Fixed langpacks loading
thunderbird.sh.in | 2 ++
thunderbird.spec | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/thunderbird.sh.in b/thunderbird.sh.in
index dfa0247..60b80ec 100644
--- a/thunderbird.sh.in
+++ b/thunderbird.sh.in
@@ -87,6 +87,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/lang* > /dev/null 2>&1
fi
# Get locale from system
diff --git a/thunderbird.spec b/thunderbird.spec
index f7b8609..4ccbe58 100644
--- a/thunderbird.spec
+++ b/thunderbird.spec
@@ -33,7 +33,7 @@
Summary: Mozilla Thunderbird mail/newsgroup client
Name: thunderbird
Version: 9.0
-Release: 2%{?dist}
+Release: 3%{?dist}
URL: http://www.mozilla.org/projects/thunderbird/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@@ -365,7 +365,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#===============================================================================
%changelog
-* Tue Dec 20 2011 Jan Horak <jhorak at redhat.com> - 9.0-2
+* Wed Dec 21 2011 Jan Horak <jhorak at redhat.com> - 9.0-3
- Update to 9.0
* Tue Dec 20 2011 Jan Horak <jhorak at redhat.com> - 9.0-1
More information about the scm-commits
mailing list