From 29945375567a11ba088d76b72d52bcdb54f1486a Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Mon, 24 Sep 2018 01:59:01 +0200 Subject: [PATCH] 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 --- www-client/firefox/firefox-60.2.1.ebuild | 6 +++++- 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() { -- 2.26.2