#!/bin/sh set -e # Firefox launcher containing a Profile migration helper for # temporary profiles used during alpha and beta phases. # Authors: # Alexander Sack <asac@jwsdot.com> # Fabien Tassin <fta@sofaraway.org> # Steve Langasek <steve.langasek@canonical.com> # Chris Coulson <chris.coulson@canonical.com> # License: GPLv2 or later MOZ_LIBDIR=/usr/lib/thunderbird MOZ_APP_LAUNCHER=`which $0` EXE=thunderbird MOZ_APP_NAME=thunderbird export MOZ_APP_LAUNCHER # Enable native Wayland support (https://launchpad.net/bugs/1916469) # only in Wayland sessions (https://launchpad.net/bugs/1923116) if [ "$XDG_SESSION_TYPE" = "wayland" ] ; then export MOZ_ENABLE_WAYLAND=1 # ensure that opening links from XWayland apps still works # (https://launchpad.net/bugs/1921931) export MOZ_DBUS_REMOTE=1 fi while [ ! -x $MOZ_LIBDIR/$EXE ] ; do if [ -L "$MOZ_APP_LAUNCHER" ] ; then MOZ_APP_LAUNCHER=`readlink -f $MOZ_APP_LAUNCHER` MOZ_LIBDIR=`dirname $MOZ_APP_LAUNCHER` else echo "Can't find $MOZ_LIBDIR/$EXE" exit 1 fi done # Ensure that external hunspell dictionaries are still loaded # (https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1847247) export DICPATH=$DICPATH:$MOZ_LIBDIR/dictionaries usage () { $MOZ_LIBDIR/$EXE -h | sed -e 's,/.*/,,' echo echo " -g or --debug Start within debugger" echo " -d or --debugger Specify debugger to start with (eg, gdb or valgrind)" echo " -a or --debugger-args Specify arguments for debugger" } moz_debug=0 moz_debugger_args="" moz_debugger="gdb" while [ $# -gt 0 ]; do case "$1" in -h | --help ) usage exit 0 ;; -g | --debug ) moz_debug=1 shift ;; -d | --debugger) moz_debugger=$2; if [ "${moz_debugger}" != "" ]; then shift 2 else echo "-d requires an argument" exit 1 fi ;; -a | --debugger-args ) moz_debugger_args=$2; if [ "${moz_debugger_args}" != "" ] ; then shift 2 else echo "-a requires an argument" exit 1 fi ;; -- ) # Stop option processing shift break ;; * ) break ;; esac done if [ $moz_debug -eq 1 ] ; then case $moz_debugger in memcheck) debugger="valgrind" ;; *) debugger=$moz_debugger ;; esac debugger=`which $debugger` if [ ! -x $debugger ] ; then echo "Invalid debugger" exit 1 fi case `basename $moz_debugger` in gdb) exec $debugger $moz_debugger_args --args $MOZ_LIBDIR/$MOZ_APP_NAME "$@" ;; memcheck) echo "$MOZ_APP_NAME has not been compiled with valgrind support" exit 1 ;; *) exec $debugger $moz_debugger_args $MOZ_LIBDIR/$MOZ_APP_NAME "$@" ;; esac else exec $MOZ_LIBDIR/$EXE "$@" fi
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
chrome | Folder | 0755 |
|
|
defaults | Folder | 0755 |
|
|
dictionaries | Folder | 0755 |
|
|
distribution | Folder | 0755 |
|
|
extensions | Folder | 0755 |
|
|
fonts | Folder | 0755 |
|
|
isp | Folder | 0755 |
|
|
plugins | Folder | 0755 |
|
|
searchplugins | Folder | 0755 |
|
|
Throbber-small.gif | File | 825 B | 0644 |
|
application.ini | File | 555 B | 0644 |
|
crashreporter | File | 255.8 KB | 0755 |
|
crashreporter.ini | File | 3.81 KB | 0644 |
|
dependentlibs.list | File | 174 B | 0644 |
|
glxtest | File | 26.51 KB | 0755 |
|
libfreeblpriv3.so | File | 798.27 KB | 0644 |
|
liblgpllibs.so | File | 42.11 KB | 0644 |
|
libmozavcodec.so | File | 3.86 MB | 0644 |
|
libmozavutil.so | File | 270.67 KB | 0644 |
|
libmozgtk.so | File | 13.88 KB | 0644 |
|
libmozsandbox.so | File | 162.78 KB | 0644 |
|
libmozsqlite3.so | File | 1.3 MB | 0644 |
|
libmozwayland.so | File | 17.87 KB | 0644 |
|
libnspr4.so | File | 233.66 KB | 0644 |
|
libnss3.so | File | 674.49 KB | 0644 |
|
libnssckbi.so | File | 582.86 KB | 0644 |
|
libnssutil3.so | File | 198.89 KB | 0644 |
|
libplc4.so | File | 22.2 KB | 0644 |
|
libplds4.so | File | 18.11 KB | 0644 |
|
librnp.so | File | 2.79 MB | 0644 |
|
libsmime3.so | File | 151.92 KB | 0644 |
|
libsoftokn3.so | File | 318.32 KB | 0644 |
|
libssl3.so | File | 401.34 KB | 0644 |
|
libxul.so | File | 153.29 MB | 0644 |
|
omni.ja | File | 76.92 MB | 0644 |
|
platform.ini | File | 103 B | 0644 |
|
plugin-container | File | 787.38 KB | 0755 |
|
thunderbird | File | 791.44 KB | 0755 |
|
thunderbird.sh | File | 3.12 KB | 0755 |
|
vaapitest | File | 22.34 KB | 0755 |
|