Auto-detecting moz home on RH-like systems

Nicolas Mailhot <[email protected]> Tue, 30 Sep 2003 23:45:07 +0200
Newsgroups gmane.comp.web.galeon.devel
Organization Adresse personelle
Message-ID <[email protected]>
Hi,

	Red Hat just upgraded moz in rawhide and as usual it broke galeon. It
can no longer find moz home (even though it would probably work all
right with the new version without any rebuild). Guys, it's not
difficult to find the correct moz home on a system that uses RedHat-like
rpms. We've been distributing java rpms that do plugin install
automagicaly in the correct place for months. They're used by lots of
people on various RedHat/Mandrake releases (and I think even some Suse
users). The magic recipe is just :

_MOZILLA_PLUGIN_DIR=$(sed -n -e 's|"||g' -e
's|^MOZ_DIST_BIN=\(.*\)$|\1|p' /bin/mozilla)/plugins

I'm sure someone here will find a more elegant manner to achieve the
same result for Galeon. Can someone fix the startup wrapper so I no
longer have to baby-sit it at each moz upgrade ?

Cheers,

[ and I'm not on the list so CC-ing me answers would be welcome ]

-- 
Nicolas Mailhot
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA/efliI2bVKDsp8g0RAo01AKCATFDw/WctYUyR9TCk9BvUjBtaLACfblyu
gWCFzK30GATyoSbpsGZNoHw=
=Ygpn
-----END PGP SIGNATURE-----