diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-03-15 20:18:12 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-03-15 20:18:12 +0000 |
commit | 8ac1e12f9d2d49be5439468631f2e4cc5328882a (patch) | |
tree | bbc81c70155c930cde4b70028123fa3af8cfdefa /eclass | |
parent | Quoting fixes, remove old version, add optional targrey patch. #211928 by Dou... (diff) | |
download | gentoo-2-8ac1e12f9d2d49be5439468631f2e4cc5328882a.tar.gz gentoo-2-8ac1e12f9d2d49be5439468631f2e4cc5328882a.tar.bz2 gentoo-2-8ac1e12f9d2d49be5439468631f2e4cc5328882a.zip |
Use a better approach
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/mozilla-launcher.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/mozilla-launcher.eclass b/eclass/mozilla-launcher.eclass index 5a54d12443ce..e5a7b733bff7 100644 --- a/eclass/mozilla-launcher.eclass +++ b/eclass/mozilla-launcher.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mozilla-launcher.eclass,v 1.19 2008/02/13 08:57:48 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mozilla-launcher.eclass,v 1.20 2008/03/15 20:18:12 armin76 Exp $ inherit nsplugins multilib @@ -69,7 +69,8 @@ install_mozilla_launcher_stub() { declare libdir=$2 # If we use xulrunner, the name of the binary should be the same - if [[ ! ${PV} < 3.0_beta1 ]] && [[ ${PN: -4} != "-bin" ]] && use xulrunner ; then + if [[ ${name: -3} == "xul" ]]; then + name=${name/xul/} declare appname=xulrunner declare xulparams="export XUL_PARAMS=${libdir}/application.ini" declare libdir="/usr/$(get_libdir)/xulrunner" |