[packages/thunderbird] updated startup script

atler atler at pld-linux.org
Thu Apr 20 23:35:53 CEST 2017


commit f6b1fbcf21f0529ec46771aa9c9ffdad5f3b1330
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Apr 20 23:33:20 2017 +0200

    updated startup script
    
    looks like thunderbird followed firefox in dropping -remote support so
    pass all arguments directly to thunderbird binary (fixes startup issue)

 thunderbird.sh | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)
---
diff --git a/thunderbird.sh b/thunderbird.sh
index cad467e..56acc78 100644
--- a/thunderbird.sh
+++ b/thunderbird.sh
@@ -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 "$@"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/thunderbird.git/commitdiff/f6b1fbcf21f0529ec46771aa9c9ffdad5f3b1330



More information about the pld-cvs-commit mailing list