]> git.pld-linux.org Git - packages/mozilla-thunderbird-bin.git/blame - mozilla-thunderbird-bin.sh
- skip packaging updater
[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
fbf6ffc2
ER
4app=@libdir@/thunderbird
5
6if [ "$1" = "-remote" ]; then
7 exec "$app" "$@"
8fi
9
10PING=$("$app" -remote 'ping()' 2>&1 >/dev/null)
11if [ -n "$PING" ]; then
12 exec "$app" "$@"
0a10b428 13fi
fbf6ffc2
ER
14
15case "$1" in
16-compose|-editor)
17 exec "$app" -remote 'xfeDoCommand (composeMessage)'
18 ;;
19*)
20 exec "$app" -remote 'xfeDoCommand (openInbox)'
21 ;;
22esac
This page took 0.083302 seconds and 4 git commands to generate.