diff options
Diffstat (limited to 'net-analyzer/netdata/netdata-9999.ebuild')
-rw-r--r-- | net-analyzer/netdata/netdata-9999.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net-analyzer/netdata/netdata-9999.ebuild b/net-analyzer/netdata/netdata-9999.ebuild index 7c343955b897..d22fa18925fe 100644 --- a/net-analyzer/netdata/netdata-9999.ebuild +++ b/net-analyzer/netdata/netdata-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -90,13 +90,16 @@ src_configure() { src_install() { default - rm -rf "${D}/var/cache/netdata" || die + rm -rf "${D}/var/cache" || die # Remove unneeded .keep files find "${ED}" -name ".keep" -delete || die fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/log/netdata + keepdir /var/log/netdata fowners -Rc ${NETDATA_USER}:${NETDATA_GROUP} /var/lib/netdata + keepdir /var/lib/netdata + keepdir /var/lib/netdata/registry fowners -Rc root:${NETDATA_GROUP} /usr/share/${PN} |