]> git.pld-linux.org Git - packages/firefox.git/blobdiff - mozilla-firefox.sh
- cleanup (no system libs installed now)
[packages/firefox.git] / mozilla-firefox.sh
index c1aa19bb00c9dff2b864a1617cabd61a2e48a4de..ac9e4b0b75f8377e4ce87b63ec560c6e78b391e6 100644 (file)
@@ -1,14 +1,11 @@
 #!/bin/sh
 # based on script by (c) vip at linux.pl, wolf at pld-linux.org
 
-if [ `arch` == "x86_64" ]; then
-       LIBDIR="/usr/lib64/mozilla-firefox"
-else
-       LIBDIR="/usr/lib/mozilla-firefox"
-fi
+LIBDIR="@LIBDIR@/mozilla-firefox"
 
 MOZILLA_FIVE_HOME=$LIBDIR
 
+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
@@ -62,11 +59,11 @@ else
                fi
        else
                if [ -z "$1" ]; then
-                       exec $FIREFOX -remote 'xfeDoCommand (openBrowser)'
+                       exec $FIREFOX -remote 'xfeDoCommand(openBrowser)'
                elif [ "$1" == "-mail" ]; then
-                       exec $FIREFOX -remote 'xfeDoCommand (openInbox)'
+                       exec $FIREFOX -remote 'xfeDoCommand(openInbox)'
                elif [ "$1" == "-compose" ]; then
-                       exec $FIREFOX -remote 'xfeDoCommand (composeMessage)'
+                       exec $FIREFOX -remote 'xfeDoCommand(composeMessage)'
                else
                        if [ -f "`pwd`/$1" ]; then
                                URL="file://`pwd`/$1"
This page took 0.029094 seconds and 4 git commands to generate.