eclass: Wuodan fix for firefox-plugin

This commit is contained in:
Anton Bolshakov 2014-10-30 13:46:23 +00:00
parent 1d7debf549
commit 22eeedc438

View file

@ -42,15 +42,18 @@ firefox-plugin_src_unpack() {
# Default install function for firefox plugins
firefox-plugin_src_install() {
declare MOZILLA_FIVE_HOME
if has_version '>=www-client/firefox-21'; then
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox/browser"
else
elif has_version '<www-client/firefox-21'; then
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox"
fi
if has_version '>=www-client/firefox-bin-21'; then
MOZILLA_FIVE_HOME="/opt/firefox/browser"
else
elif has_version '<www-client/firefox-bin-21'; then
MOZILLA_FIVE_HOME="/opt/firefox/"
fi
xpi_install "${S}/${FFP_XPI_FILE}"
}