0
0
mirror of https://github.com/netdata/netdata.git synced 2024-11-24 08:26:54 +00:00
netdata_netdata/packaging/cmake/pkg-files/deb/plugin-ebpf/postinst
Austin S. Hemmelgarn 78fcd815dc
Restructure packaging related files to better reflect usage. (#17678)
* Restructure packaging related files to better reflect usage.

* Remove redundant variable declaration.

* Fix variable name.
2024-05-30 12:40:29 -04:00

13 lines
245 B
Bash
Executable File

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