summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/netdata.install2
-rwxr-xr-xdebian/rules14
2 files changed, 1 insertions, 15 deletions
diff --git a/debian/netdata.install b/debian/netdata.install
index 2999224d..081be5e5 100644
--- a/debian/netdata.install
+++ b/debian/netdata.install
@@ -1,6 +1,6 @@
/usr/sbin
debian/netdata.conf /etc/netdata/
-usr/lib/*/netdata/charts.d
+usr/lib/*/netdata/charts.d/*.sh
usr/lib/*/netdata/plugins.d/apps.plugin
usr/lib/*/netdata/plugins.d/charts.d.dryrun-helper.sh
usr/lib/*/netdata/plugins.d/charts.d.plugin
diff --git a/debian/rules b/debian/rules
index 576b77c1..f47c3fd3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,6 @@
# the location of plugins in /usr/lib
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
TOP = $(CURDIR)/debian/netdata
-WEB = $(TOP)-data/usr/share/web/
export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
@@ -38,19 +37,6 @@ override_dh_install: $(MULTIARCH_INSTALL)
#
find "$(TOP)" -name .keep -exec rm '{}' ';'
- # Update postinst to set correct group for www files on installation.
- # Should probably be dpkg-statoverride really, but that gets *really*
- # messy. We also set all web files in /var as conffiles so an upgrade
- # doesn't splat them.
- #
- #for D in $$(find "$(TOP)/var/lib/netdata/www/" -maxdepth 1 -type f -printf '%f '); do \
- # echo Updating postinst for $$D; \
- # sed -i "s/^#PERMS#/chgrp netdata \/var\/lib\/netdata\/www\/$$D\n#PERMS#/g" \
- # $(CURDIR)/debian/netdata.postinst; \
- # echo "/var/lib/netdata/www/$$D" >> $(CURDIR)/debian/netdata.conffiles; \
- #done
- #sed -i "/^#PERMS#/d" $(CURDIR)/debian/netdata.postinst
-
override_dh_fixperms:
dh_fixperms