summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Weller <lhw@ring0.de>2016-09-05 13:07:53 +0000
committerLennart Weller <lhw@ring0.de>2016-09-05 13:07:53 +0000
commitb68375ec5dabbcfdd094d3a2b3b20b935735d8d5 (patch)
tree5bbc762de9b110db6b7bcbd0fa8c49666083313a
parentcopyright change for avl implementation. (diff)
downloadnetdata-b68375ec5dabbcfdd094d3a2b3b20b935735d8d5.tar.xz
netdata-b68375ec5dabbcfdd094d3a2b3b20b935735d8d5.zip
accidental tabs
-rw-r--r--debian/netdata.postinst.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/debian/netdata.postinst.in b/debian/netdata.postinst.in
index 643b99d5..48989f11 100644
--- a/debian/netdata.postinst.in
+++ b/debian/netdata.postinst.in
@@ -11,15 +11,15 @@ case "$1" in
if ! getent passwd netdata >/dev/null; then
adduser --quiet --system --ingroup netdata --home /var/lib/netdata --no-create-home netdata
- mkdir -p /var/lib/netdata
+ mkdir -p /var/lib/netdata
fi
- for dir_name in /var/cache/netdata /var/lib/netdata; do
- if ! dpkg-statoverride --list "$dir_name" >/dev/null 2>&1; then
- dpkg-statoverride --update --add netdata netdata 0755 "$dir_name"
- fi
+ for dir_name in /var/cache/netdata /var/lib/netdata; do
+ if ! dpkg-statoverride --list "$dir_name" >/dev/null 2>&1; then
+ dpkg-statoverride --update --add netdata netdata 0755 "$dir_name"
+ fi
- done
+ done
fi
chown -R root:netdata /usr/lib/@DEB_HOST_MULTIARCH@/netdata/plugins.d