summaryrefslogtreecommitdiff
path: root/firefox.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'firefox.sh.in')
-rw-r--r--firefox.sh.in2
1 files changed, 2 insertions, 0 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
bgstack15