summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2013-05-28 03:29:50 +0000
committerJory Pratt <anarchy@gentoo.org>2013-05-28 03:29:50 +0000
commited61998052d4dff9cf4f2748d17342f53703cad3 (patch)
tree22c0725ac630d9bf32590251d1013f80a810292b /eclass/nsplugins.eclass
parentfixed a typo, which prevented cuda build (diff)
downloadhistorical-ed61998052d4dff9cf4f2748d17342f53703cad3.tar.gz
historical-ed61998052d4dff9cf4f2748d17342f53703cad3.tar.bz2
historical-ed61998052d4dff9cf4f2748d17342f53703cad3.zip
Ensure plugins/extensions are in correct place for >=firefox{-bin}-21.0
Diffstat (limited to 'eclass/nsplugins.eclass')
-rw-r--r--eclass/nsplugins.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/nsplugins.eclass b/eclass/nsplugins.eclass
index acbe070e2e88..d63fc45ae129 100644
--- a/eclass/nsplugins.eclass
+++ b/eclass/nsplugins.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.32 2013/05/17 04:01:54 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.33 2013/05/28 03:29:50 anarchy Exp $
#
# @ECLASS: nsplugins.eclass
# @MAINTAINER:
@@ -12,7 +12,7 @@
# Reusable functions that promote sharing of netscape/moz plugins, also provides
# share_plugins_dir function for mozilla applications.
-inherit eutils multilib versionator
+inherit eutils multilib versionator mozextension
PLUGINS_DIR="nsbrowser/plugins"
@@ -72,7 +72,7 @@ share_plugins_dir() {
PLUGIN_BASE_PATH=".."
fi
- if version_is_at_least "21.0"; then
+ if $(mozversion_extension_location) ; then
dosym "${PLUGIN_BASE_PATH}/nsbrowser/plugins" "${MOZILLA_FIVE_HOME}/browser/plugins"
else
dosym "${PLUGIN_BASE_PATH}/nsbrowser/plugins" "${MOZILLA_FIVE_HOME}/plugins"