summaryrefslogtreecommitdiffstats
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 7ecc663..f0cce0d 100644
--- a/firefox.sh.in
+++ b/firefox.sh.in
@@ -171,6 +171,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