diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2018-09-24 01:59:01 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-09-24 02:55:26 +0200 |
commit | 29945375567a11ba088d76b72d52bcdb54f1486a (patch) | |
tree | a5f406db03da7b79b026f134e37df941ff153921 /www-client | |
parent | www-client/firefox: install geckodriver when USE=geckodriver is set (diff) | |
download | gentoo-29945375567a11ba088d76b72d52bcdb54f1486a.tar.gz gentoo-29945375567a11ba088d76b72d52bcdb54f1486a.tar.bz2 gentoo-29945375567a11ba088d76b72d52bcdb54f1486a.zip |
www-client/firefox: don't install firefox-bin
firefox and firefox-bin are identical. So instead of installing
the same file twice, we will now install a symlink only.
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/firefox/firefox-60.2.1.ebuild | 6 | ||||
-rw-r--r-- | www-client/firefox/firefox-62.0.2.ebuild | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/www-client/firefox/firefox-60.2.1.ebuild b/www-client/firefox/firefox-60.2.1.ebuild index 51a218b24b4d..2d2e154e8463 100644 --- a/www-client/firefox/firefox-60.2.1.ebuild +++ b/www-client/firefox/firefox-60.2.1.ebuild @@ -354,8 +354,12 @@ PROFILE_EOF || die fi + # firefox and firefox-bin are identical + rm "${ED%/}"${MOZILLA_FIVE_HOME}/firefox-bin || die + dosym firefox ${MOZILLA_FIVE_HOME}/firefox-bin + # Required in order to use plugins and even run firefox on hardened. - pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/{firefox,firefox-bin,plugin-container} + pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/{firefox,plugin-container} } pkg_preinst() { diff --git a/www-client/firefox/firefox-62.0.2.ebuild b/www-client/firefox/firefox-62.0.2.ebuild index efa2aff50838..569e8d139db3 100644 --- a/www-client/firefox/firefox-62.0.2.ebuild +++ b/www-client/firefox/firefox-62.0.2.ebuild @@ -542,8 +542,12 @@ PROFILE_EOF || die fi + # firefox and firefox-bin are identical + rm "${ED%/}"${MOZILLA_FIVE_HOME}/firefox-bin || die + dosym firefox ${MOZILLA_FIVE_HOME}/firefox-bin + # Required in order to use plugins and even run firefox on hardened. - pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/{firefox,firefox-bin,plugin-container} + pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/{firefox,plugin-container} } pkg_preinst() { |