mirror of
https://github.com/netdata/netdata.git
synced 2025-04-25 05:31:37 +00:00

* Fix user and group handling in DEB packages. * Actually apply correct ownership. But use the list of files in the package as provided by dpkg to do it instead of blindly modifying everything under /usr/libexec/netdata.
13 lines
200 B
Bash
13 lines
200 B
Bash
#!/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
|