0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-23 13:00:23 +00:00
netdata_netdata/contrib/debian/netdata-plugin-pythond.preinst
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
163 B
Bash

#!/bin/sh
set -e
case "$1" in
install)
if ! getent group netdata > /dev/null; then
addgroup --quiet --system netdata
fi
;;
esac
#DEBHELPER#