mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-30 12:02:57 +01:00
eclass: Wuodan fix for firefox-plugin
This commit is contained in:
parent
1d7debf549
commit
22eeedc438
1 changed files with 5 additions and 2 deletions
|
|
@ -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}"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue