summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2019-07-03 12:26:23 -0400
committerCraig Andrews <candrews@gentoo.org>2019-07-03 12:26:49 -0400
commit048ff5497878d1a255671e4f6e0f7ffc0a8b04bd (patch)
tree3587d576cd3bc2c899ce0ef1973e539182db1af2 /net-analyzer/netdata/netdata-9999.ebuild
parentdev-util/intel-graphics-compiler: bump to 1.0.9 (diff)
downloadgentoo-048ff5497878d1a255671e4f6e0f7ffc0a8b04bd.tar.gz
gentoo-048ff5497878d1a255671e4f6e0f7ffc0a8b04bd.tar.bz2
gentoo-048ff5497878d1a255671e4f6e0f7ffc0a8b04bd.zip
net-analyzer/netdata: CONFIG_PROTECT /usr/lib64/netdata/conf.d
Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'net-analyzer/netdata/netdata-9999.ebuild')
-rw-r--r--net-analyzer/netdata/netdata-9999.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-9999.ebuild
index 19ed4f693a0a..77427218be1f 100644
--- a/net-analyzer/netdata/netdata-9999.ebuild
+++ b/net-analyzer/netdata/netdata-9999.ebuild
@@ -125,4 +125,7 @@ src_install() {
systemd_dounit system/netdata.service
insinto /etc/netdata
doins system/netdata.conf
+
+ echo "CONFIG_PROTECT=\"${EPREFIX}/usr/$(get_libdir)/netdata/conf.d\"" > 99netdata
+ doenvd 99netdata
}