postinst 245 B

123456789101112
  1. #!/bin/sh
  2. set -e
  3. case "$1" in
  4. configure|reconfigure)
  5. grep /usr/libexec/netdata /var/lib/dpkg/info/netdata-plugin-ebpf.list | xargs -n 30 chown root:netdata
  6. chmod -f 4750 /usr/libexec/netdata/plugins.d/ebpf.plugin
  7. ;;
  8. esac
  9. exit 0