0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-25 05:31:37 +00:00
netdata_netdata/contrib/debian/netdata-plugin-pythond.postinst
Austin S. Hemmelgarn 1c3b11715e
Fix user and group handling in DEB packages. ()
* 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.
2023-06-08 13:05:25 -04:00

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