]> git.pld-linux.org Git - packages/icedove.git/blob - icedove.sh
- don't force UI locale, let user choose language he wants
[packages/icedove.git] / icedove.sh
1 #!/bin/sh
2 # based on script by (c) vip at linux.pl, wolf at pld-linux.org
3
4 LIBDIR="@LIBDIR@/icedove"
5
6 ICEDOVE="$LIBDIR/icedove"
7
8 if [ "$1" == "-remote" ]; then
9         $ICEDOVE "$@"
10 else
11         PING=`$ICEDOVE -remote 'ping()' 2>&1 >/dev/null`
12         if [ -n "$PING" ]; then
13                 $ICEDOVE "$@"
14         else
15                 case "$1" in
16                     -compose|-editor)
17                         $ICEDOVE -remote 'xfeDoCommand (composeMessage)'
18                         ;;
19                     *)
20                         $ICEDOVE -remote 'xfeDoCommand (openInbox)'
21                         ;;
22                 esac
23         fi
24 fi
This page took 0.051502 seconds and 4 git commands to generate.