summaryrefslogtreecommitdiffstats
path: root/packaging/cmake/pkg-files/deb/plugin-perf/preinst
blob: 57615ec063dc29100d69601642c0a050b6476bb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

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