]>
Commit | Line | Data |
---|---|---|
ceb3e54a | 1 | #!/bin/sh |
2 | # based on script by (c) vip at linux.pl, wolf at pld-linux.org | |
3 | ||
4 | LIBDIR="@LIBDIR@/icedove" | |
5 | ||
e81aaae4 | 6 | ICEDOVE="$LIBDIR/icedove" |
ceb3e54a | 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 |