]> git.pld-linux.org Git - packages/mozilla-thunderbird-bin.git/blame - mozilla-thunderbird-bin.sh
- add xpti.dat and compreg.dat ghosts
[packages/mozilla-thunderbird-bin.git] / mozilla-thunderbird-bin.sh
CommitLineData
0a10b428 1#!/bin/sh
2# based on script by (c) vip at linux.pl, wolf at pld-linux.org
3
4MOZILLA_FIVE_HOME=/usr/lib/mozilla-thunderbird-bin
5if [ "$1" == "-remote" ]; then
6 $MOZILLA_FIVE_HOME/thunderbird "$@"
7else
8 PING=`$MOZILLA_FIVE_HOME/thunderbird -remote 'ping()' 2>&1 >/dev/null`
9 if [ -n "$PING" ]; then
10 $MOZILLA_FIVE_HOME/thunderbird "$@"
11 else
12 case "$1" in
13 -compose|-editor)
14 $MOZILLA_FIVE_HOME/thunderbird -remote 'xfeDoCommand (composeMessage)'
15 ;;
16 *)
17 $MOZILLA_FIVE_HOME/thunderbird -remote 'xfeDoCommand (openInbox)'
18 ;;
19 esac
20 fi
21fi
This page took 0.034453 seconds and 4 git commands to generate.