# Slackware 10.2's 'mozilla-thunderbird' package includes version 1.0.6
# 11.0's includes 1.5.0.7, and 12.0's includes 2.0.0.4
# There may be others in 'patches' too.
# Become root to remove old files and to install it
su
# Now make sure that Thunderbird is not running. This should kill it if it
# is running, and should remove it if it's installed in a few common
# locations. removepkg will be run also in case you're replacing a Slackware
# package.
killall thunderbird thunderbird-bin
test -x /sbin/removepkg && /sbin/removepkg mozilla-thunderbird
find /usr/lib /usr/local/lib -maxdepth 1 -type d -name "thunderbird-*" \
-exec rm -r {} \;
test -d /usr/lib/thunderbird && rm -r /usr/lib/thunderbird
test -d /usr/local/thunderbird && rm -r /usr/local/thunderbird
# This will install it under /usr/local/thunderbird
tar xzvf thunderbird-2.0.0.12.tar.gz -C /usr/local
chown -R root:root /usr/local/thunderbird
# Create a symlink in a directory in your PATH so you can run 'thunderbird'
# without specifying the full path:
ln -sf /usr/local/thunderbird/thunderbird /usr/local/bin/thunderbird
# Become yourself again
exit
# While running 2.0.0.0, I had to create a user.js in my Thunderbird profile
# directory (~/.thunderbird/xxxxxxxx.default/) and add these three lines to
# it to get it to open links with Firefox:
# user_pref("network.protocol-handler.app.http", "/usr/local/bin/firefox");
# user_pref("network.protocol-handler.app.https", "/usr/local/bin/firefox");
# user_pref("network.protocol-handler.app.ftp", "/usr/local/bin/firefox");
# It did not use KDE's default browser setting.