preinst 150 B

1234567891011
  1. #!/bin/sh
  2. set -e
  3. case "$1" in
  4. install)
  5. if ! getent group netdata > /dev/null; then
  6. addgroup --quiet --system netdata
  7. fi
  8. ;;
  9. esac