]> git.pld-linux.org Git - packages/icedove.git/blame - icedove.sh
- doh, one more s/Thunderbird/Icedove/
[packages/icedove.git] / icedove.sh
CommitLineData
ceb3e54a 1#!/bin/sh
2# based on script by (c) vip at linux.pl, wolf at pld-linux.org
3
4LIBDIR="@LIBDIR@/icedove"
5
e81aaae4 6ICEDOVE="$LIBDIR/icedove"
ceb3e54a 7
8if [ "$1" == "-remote" ]; then
9 $ICEDOVE "$@"
10else
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
24fi
This page took 0.034954 seconds and 4 git commands to generate.