Mailinglist Archive: opensuse (4417 mails)

< Previous Next >
Mozilla bleeding edge - every day
  • From: Silviu Marin-Caea <silviu@xxxxxxxxxx>
  • Date: Fri, 28 Nov 2003 14:37:28 +0200
  • Message-id: <3FC74188.3010308@xxxxxxxxxx>
Jerry wrote:
Newbie here with SuSE 9.0 Personal edition and Linux in general.

What is the best way to replace the Mozilla 1.4 that comes with the SuSE
install CD to the newer version of 1.6 and have it work as 1.4 does.

In case there are people who want to use mozilla "bleeding edge", this is a script that installs automatically, every day, the nightly build.

Put it in /etc/cron.daily and don't forget to
chmod u+x /etc/cron.daily/instmozilla

#!/bin/sh
# get mozilla from a mirror that carries this file
#ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/latest-trunk/mozilla-i686-pc-linux-gnu-sea.tar.gz
wget --quiet \
ftp://insert.favorite.mirror.here/path/to/nightly/build/mozilla-i686-pc-linux-gnu.tar.gz
tar xzf mozilla-i686-pc-linux-gnu.tar.gz

# sometimes the tarball is broken, in that case, won't erase the working
# version that we have
if [ $? = 0 ] ; then
# tarball is not broken, unpacking went well
# erase the old version and the tarball
rm -rf /opt/mozilla mozilla-i686-pc-linux-gnu.tar.gz
# move the new version in place
mv mozilla /opt
# create symlinks to plugins
cd /opt/mozilla/plugins
ln -s /usr/lib/browser-plugins/libflashplayer.so
ln -s /usr/lib/browser-plugins/flashplayer.xpt
ln -s /usr/lib/java/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
ln -s /usr/lib/browser-plugins/nppdf.so
ln -s /usr/lib/browser-plugins/raclass.zip
ln -s /usr/lib/browser-plugins/rpnp.so
else
# unpacking went wrong, just delete the bad tarball
rm mozilla-i686-pc-linux-gnu.tar.gz
fi

< Previous Next >
References