summaryrefslogtreecommitdiffstats
path: root/contrib/debian/netdata-plugin-pythond.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/debian/netdata-plugin-pythond.postinst')
-rw-r--r--contrib/debian/netdata-plugin-pythond.postinst13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/debian/netdata-plugin-pythond.postinst b/contrib/debian/netdata-plugin-pythond.postinst
new file mode 100644
index 000000000..fc4ac504e
--- /dev/null
+++ b/contrib/debian/netdata-plugin-pythond.postinst
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ configure|reconfigure)
+ grep /usr/libexec/netdata /var/lib/dpkg/info/netdata-plugin-pythond.list | xargs -n 30 chown root:netdata
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0