summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Weller <lhw@ring0.de>2016-06-15 12:21:11 +0000
committerLennart Weller <lhw@ring0.de>2016-06-15 12:58:29 +0000
commit80f80efd99d422e21aa625aab7faf6b998a23480 (patch)
treee95ed04ff34c945c03c9726fbd304e1f5d2f83ca
parentAdd init script (diff)
downloadnetdata-80f80efd99d422e21aa625aab7faf6b998a23480.tar.xz
netdata-80f80efd99d422e21aa625aab7faf6b998a23480.zip
removed readme from charts.d, cleaned up rules
-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