summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/cfengine/cfengine-3.6.2.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/net-misc/cfengine/cfengine-3.6.2.ebuild b/net-misc/cfengine/cfengine-3.6.2.ebuild
index eb302d86ac28..75f021ada089 100644
--- a/net-misc/cfengine/cfengine-3.6.2.ebuild
+++ b/net-misc/cfengine/cfengine-3.6.2.ebuild
@@ -110,6 +110,9 @@ src_install() {
insinto /var/cfengine
doins -r "${WORKDIR}/masterfiles"
fi
+
+ dodir /etc/env.d
+ echo 'CONFIG_PROTECT=/var/cfengine/masterfiles' >"${ED}/etc/env.d/99${PN}" || die
}
pkg_postinst() {