]> git.pld-linux.org Git - packages/thunderbird.git/blame - icedove.sh
- added -condstore.patch to fix annoying bug, see https://bugzilla.mozilla.org/show_b...
[packages/thunderbird.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
e98019c8 6# copy profile from Thunderbird if its available and if no Icedove
7# profile exists
8if [ ! -d $HOME/.icedove ]; then
9 if [ -d $HOME/.thunderbird ]; then
10 echo "Copying profile from Thunderbird"
11 cp -rf $HOME/.thunderbird $HOME/.icedove
12 fi
13fi
14
9dfe955f 15ICEDOVE="$LIBDIR/icedove"
ceb3e54a 16
17if [ "$1" == "-remote" ]; then
18 $ICEDOVE "$@"
19else
20 PING=`$ICEDOVE -remote 'ping()' 2>&1 >/dev/null`
21 if [ -n "$PING" ]; then
22 $ICEDOVE "$@"
23 else
24 case "$1" in
25 -compose|-editor)
26 $ICEDOVE -remote 'xfeDoCommand (composeMessage)'
27 ;;
28 *)
29 $ICEDOVE -remote 'xfeDoCommand (openInbox)'
30 ;;
31 esac
32 fi
33fi
This page took 0.035932 seconds and 4 git commands to generate.