commit:     9c75cd61a25151c6836b3a4f6a6fc572ec54a217
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  4 10:55:14 2020 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Apr  4 10:55:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c75cd61

app-emulation/crossover-bin: Add config file to CONFIG_PROTECT

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 app-emulation/crossover-bin/crossover-bin-18.5.0-r1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app-emulation/crossover-bin/crossover-bin-18.5.0-r1.ebuild 
b/app-emulation/crossover-bin/crossover-bin-18.5.0-r1.ebuild
index 170b56d9e88..e103a45516a 100644
--- a/app-emulation/crossover-bin/crossover-bin-18.5.0-r1.ebuild
+++ b/app-emulation/crossover-bin/crossover-bin-18.5.0-r1.ebuild
@@ -135,6 +135,8 @@ src_install() {
        # Install configuration file
        insinto /opt/cxoffice/etc
        doins share/crossover/data/cxoffice.conf
+       dodir /etc/env.d
+       echo "CONFIG_PROTECT=/opt/cxoffice/etc/cxoffice.conf" >> 
"${ED}"/etc/env.d/30crossover-bin || die
 
        # Konqueror in its infinite wisdom decides to try opening things for
        # writing, which are sandbox violations. This breaks the install 
process if

Reply via email to