
Originally Posted by
Strubbl
can you share your scripts?
Sure but I am no scripting god. I believe that it could be solved in a alot better way. Here is my Thunderbird dl and compile script. I created a directory called "thunderbird_source" inside my download folder and put the script in it.
Code:
#!/bin/bash
function showNotification()
{
notify-send -i /usr/share/pixmaps/thunderbird.png Thunderbird "$1"
}
showNotification "Downloading new Source and Internationalisation"
wget -qrnd -nH -l 0 -A thunderbird-*.source.tar.bz2 ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/latest-3.1/source/
wget -q ftp://ftp.mozilla.org/pub/thunderbird/releases/latest-3.1/win32/xpi/de.xpi
TBVERSION=`ls | grep thunderbird- | egrep -o "3\.[0-9]+(\.[0-9]+)?"`
showNotification "Unpacking Source"
tar xjf thunderbird-"$TBVERSION".source.tar.bz2
SRCDIR=`ls | grep comm-`
cd $SRCDIR
showNotification "Starting configure"
xterm -e "./configure --enable-application=mail --enable-official-branding --enable-default-toolkit=cairo-gtk2 --enable-static --disable-tests"
showNotification "Starting make"
xterm -e "make -j4"
showNotification "Creating deb"
xterm -e "sudo checkinstall -D --install=no --pkgname='thunderbird' --pkgversion='$TBVERSION'"
xterm -e "sudo chmod a+w thunderbird_"$TBVERSION"_amd64.deb"
showNotification "Finished compiling and creating of deb paket"
If you don't need an internationalisation. Delete the line
Code:
wget -q ftp://ftp.mozilla.org/pub/thunderbird/releases/latest-3.1/win32/xpi/de.xpi
or if you want a different then german edit it to the language you need. You have to install the xpi in thunderbird after installing tb 3.1. So when you first start it it's english.
It's almost the same script for firefox.
Bookmarks