2 # based on script by (c) vip at linux.pl, wolf at pld-linux.org
4 LIBDIR="@LIBDIR@/icedove"
6 # copy profile from Thunderbird if its available and if no Icedove
8 if [ ! -d $HOME/.icedove ]; then
9 if [ -d $HOME/.thunderbird ]; then
10 echo "Copying profile from Thunderbird"
11 cp -rf $HOME/.thunderbird $HOME/.icedove
15 ICEDOVE="$LIBDIR/icedove"
17 if [ "$1" == "-remote" ]; then
20 PING=`$ICEDOVE -remote 'ping()' 2>&1 >/dev/null`
21 if [ -n "$PING" ]; then
26 $ICEDOVE -remote 'xfeDoCommand (composeMessage)'
29 $ICEDOVE -remote 'xfeDoCommand (openInbox)'