X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=mozilla-firefox.sh;fp=mozilla-firefox.sh;h=71edd8debc1ce403a216a1f7fe4c3d16440e1579;hb=4a7a6090e7755363b5836c34f2357b5635e0e974;hp=98133d6657ca8e10569863b80395aeb9d2fcc116;hpb=2d16297a53897689fa862f2dc49a0ad1b4498239;p=packages%2Ffirefox.git diff --git a/mozilla-firefox.sh b/mozilla-firefox.sh index 98133d6..71edd8d 100644 --- a/mozilla-firefox.sh +++ b/mozilla-firefox.sh @@ -9,8 +9,8 @@ fi MOZILLA_FIVE_HOME=$LIBDIR -MOZLOCALE="$(/usr/bin/locale | grep "^LC_MESSAGES=" | sed "s|LC_MESSAGES=||g")" -eval MOZLOCALE="$(echo $MOZLOCALE | sed "s|_\([^.]*\).*|-\1|g")" +MOZLOCALE="$(/usr/bin/locale | grep "^LC_MESSAGES=" | sed -e "s|LC_MESSAGES=||g" -e "s|\"||g" )" +eval MOZLOCALE="$(echo $MOZLOCALE | sed -e "s|_\([^.]*\).*|-\1|g")" [ -f $MOZILLA_FIVE_HOME/chrome/$MOZLOCALE.jar ] && MOZARGS="-UILocale $MOZLOCALE"