summaryrefslogtreecommitdiff
path: root/firefox.sh.in
diff options
context:
space:
mode:
authorChristopher Aillon <caillon@redhat.com>2011-03-12 20:09:06 -0800
committerChristopher Aillon <caillon@redhat.com>2011-03-18 15:00:19 -0700
commit779c27ab45e79372311505979c56627364e78df8 (patch)
tree558ca138a26ccd9a592bdb851590b8b5a7d2890b /firefox.sh.in
parentMacro-ize the langpack directory name (diff)
downloadlibrewolf-fedora-ff-779c27ab45e79372311505979c56627364e78df8.tar.gz
librewolf-fedora-ff-779c27ab45e79372311505979c56627364e78df8.tar.bz2
librewolf-fedora-ff-779c27ab45e79372311505979c56627364e78df8.zip
We don't need to pass -UILocale
matchOS takes care of this, so this has actually not been needed for a long while! A remnant of the initial import...
Diffstat (limited to 'firefox.sh.in')
-rw-r--r--firefox.sh.in16
1 files changed, 2 insertions, 14 deletions
diff --git a/firefox.sh.in b/firefox.sh.in
index 92149cc..44f87d3 100644
--- a/firefox.sh.in
+++ b/firefox.sh.in
@@ -161,9 +161,6 @@ export GNOME_DISABLE_CRASH_DIALOG
##
FEDORA_LANGPACK_CONFIG="$MOZ_EXTENSIONS_PROFILE_DIR/.fedora-langpack-install"
-# check system locale
-MOZARGS=
-
# MOZ_DISABLE_LANGPACKS disables language packs completely
MOZILLA_DOWN=0
if ! [ $MOZ_DISABLE_LANGPACKS ] || [ $MOZ_DISABLE_LANGPACKS -eq 0 ]; then
@@ -216,15 +213,6 @@ if [ $MOZILLA_DOWN -ne 0 ]; then
echo "$MOZ_EXTENSIONS_PROFILE_DIR/langpack-${MOZLOCALE}@firefox.mozilla.org" > $FEDORA_LANGPACK_CONFIG
fi
fi
-
- # And set it up for mozilla
- if [ -f $MOZ_EXTENSIONS_PROFILE_DIR/langpack-${SHORTMOZLOCALE}@firefox.mozilla.org/$MANIFEST ]; then
- MOZARGS="-UILocale $SHORTMOZLOCALE"
- else
- if [ -f $MOZ_EXTENSIONS_PROFILE_DIR/langpack-${MOZLOCALE}@firefox.mozilla.org/$MANIFEST ]; then
- MOZARGS="-UILocale $MOZLOCALE"
- fi
- fi
fi
# Prepare command line arguments
@@ -260,7 +248,7 @@ done
debugging=0
if [ $debugging = 1 ]
then
- echo $MOZ_LAUNCHER $script_args $MOZ_PROGRAM $MOZARGS "$@"
+ echo $MOZ_LAUNCHER $script_args $MOZ_PROGRAM "$@"
fi
-exec $MOZ_LAUNCHER $script_args $MOZ_PROGRAM $MOZARGS "$@"
+exec $MOZ_LAUNCHER $script_args $MOZ_PROGRAM "$@"
bgstack15