]> git.pld-linux.org Git - packages/mozilla-thunderbird-bin.git/blob - mozilla-thunderbird-bin.sh
- skip packaging updater
[packages/mozilla-thunderbird-bin.git] / mozilla-thunderbird-bin.sh
1 #!/bin/sh
2 # based on script by (c) vip at linux.pl, wolf at pld-linux.org
3
4 app=@libdir@/thunderbird
5
6 if [ "$1" = "-remote" ]; then
7         exec "$app" "$@"
8 fi
9
10 PING=$("$app" -remote 'ping()' 2>&1 >/dev/null)
11 if [ -n "$PING" ]; then
12         exec "$app" "$@"
13 fi
14
15 case "$1" in
16 -compose|-editor)
17         exec "$app" -remote 'xfeDoCommand (composeMessage)'
18         ;;
19 *)
20         exec "$app" -remote 'xfeDoCommand (openInbox)'
21         ;;
22 esac
This page took 0.077528 seconds and 3 git commands to generate.