]> git.pld-linux.org Git - packages/thunderbird.git/blobdiff - icedove.sh
- added Patch7: icedove-breakpad.patch as fix for gcc 4.4.2 on x86 machines
[packages/thunderbird.git] / icedove.sh
index bbdbbcda273d2639d0cdc0fec3bd434f33eb0e17..dde3a013f583c737c9c3e4ae3dff1a7aa05eceed 100644 (file)
@@ -12,38 +12,7 @@ if [ ! -d $HOME/.icedove ]; then
        fi
 fi
 
-MOZARGS=
-MOZLOCALE="$(/usr/bin/locale | grep "^LC_MESSAGES=" | \
-               sed -e "s|LC_MESSAGES=||g" -e "s|\"||g" )"
-for MOZLANG in $(echo $LANGUAGE | tr ":" " ") $MOZLOCALE; do
-       eval MOZLANG="$(echo $MOZLANG | sed -e "s|_\([^.]*\).*|-\1|g")"
-
-       if [ -f $LIBDIR/chrome/$MOZLANG.jar ]; then
-               MOZARGS="-UILocale $MOZLANG"
-               break
-       fi
-done
-
-if [ -z "$MOZARGS" ]; then
-       # try harder
-       for MOZLANG in $(echo $LANGUAGE | tr ":" " ") $MOZLOCALE; do
-               eval MOZLANG="$(echo $MOZLANG | sed -e "s|_.*||g")"
-
-               LANGFILE=$(echo ${MOZILLA_FIVE_HOME}/chrome/${MOZLANG}*.jar \
-                               | sed 's/\s.*//g' )
-               if [ -f "$LANGFILE" ]; then
-                       MOZLANG=$(basename "$LANGFILE" | sed 's/\.jar//')
-                       MOZARGS="-UILocale $MOZLANG"
-                       break
-               fi
-       done
-fi
-
-if [ -n "$MOZARGS" ]; then
-       ICEDOVE="$LIBDIR/icedove $MOZARGS"
-else
-       ICEDOVE="$LIBDIR/icedove"
-fi
+ICEDOVE="$LIBDIR/icedove"
 
 if [ "$1" == "-remote" ]; then
        $ICEDOVE "$@"
This page took 0.084516 seconds and 4 git commands to generate.