summaryrefslogtreecommitdiffstats
path: root/packaging/makeself
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-17 06:38:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-17 06:38:54 +0000
commit5a81b5757d89e7076e24e2191cb4fdff3d438a88 (patch)
tree74a8f7baa4f17d529cdcdf6ee28f7ad5d4322650 /packaging/makeself
parentReleasing debian version 1.36.0-1. (diff)
downloadnetdata-5a81b5757d89e7076e24e2191cb4fdff3d438a88.tar.xz
netdata-5a81b5757d89e7076e24e2191cb4fdff3d438a88.zip
Merging upstream version 1.36.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'packaging/makeself')
-rwxr-xr-xpackaging/makeself/install-or-update.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/makeself/install-or-update.sh b/packaging/makeself/install-or-update.sh
index 15b073feb..aef67a156 100755
--- a/packaging/makeself/install-or-update.sh
+++ b/packaging/makeself/install-or-update.sh
@@ -214,6 +214,10 @@ for x in apps.plugin freeipmi.plugin ioping cgroup-network ebpf.plugin perf.plug
fi
done
+if [ -f "usr/libexec/netdata/plugins.d/go.d.plugin" ] && command -v setcap 1>/dev/null 2>&1; then
+ run setcap cap_net_admin+epi "usr/libexec/netdata/plugins.d/go.d.plugin"
+fi
+
# fix the fping binary
if [ -f bin/fping ]; then
run chown root:${NETDATA_GROUP} bin/fping