app-emulation/crossover-bin: Add config file to CONFIG_PROTECT
[gentoo.git] / app-emulation / crossover-bin / crossover-bin-18.5.0-r1.ebuild
index 170b56d9e8848f587a706de6af4726c411e22370..e103a45516a4ede97b116ef5930294976ec9a14c 100644 (file)
@@ -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