]> git.pld-linux.org Git - packages/thunderbird.git/commitdiff
updated startup script
authorJan Palus <atler@pld-linux.org>
Thu, 20 Apr 2017 21:33:20 +0000 (23:33 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 20 Apr 2017 21:33:20 +0000 (23:33 +0200)
looks like thunderbird followed firefox in dropping -remote support so
pass all arguments directly to thunderbird binary (fixes startup issue)

thunderbird.sh

index cad467eec96729df2e98b6e40bdd441bd1b790fd..56acc786ca96c2a5e6dcf6d58ad272ff627a08df 100644 (file)
@@ -22,20 +22,4 @@ done
 
 THUNDERBIRD="$LIBDIR/thunderbird"
 
-if [ "$1" = "-remote" ]; then
-       exec $THUNDERBIRD "$@"
-else
-       PING=$($THUNDERBIRD -remote 'ping()' 2>&1 >/dev/null)
-       if [ -n "$PING" ]; then
-               exec $THUNDERBIRD "$@"
-       else
-               case "$1" in
-               -compose|-editor)
-                       exec $THUNDERBIRD -remote 'xfeDoCommand (composeMessage)'
-                       ;;
-               *)
-                       exec $THUNDERBIRD -remote 'xfeDoCommand (openInbox)'
-                       ;;
-               esac
-       fi
-fi
+exec $THUNDERBIRD "$@"
This page took 0.036834 seconds and 4 git commands to generate.