From 910c794ec6d0a364b4aabccf22b715cb45780e83 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 9 Nov 2024 09:36:11 +0100 Subject: Merging upstream version 2.0.0 (Closes: #923993, #1042533, #1045145). Signed-off-by: Daniel Baumann --- packaging/cmake/pkg-files/deb/dashboard/preinst | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 packaging/cmake/pkg-files/deb/dashboard/preinst (limited to 'packaging/cmake/pkg-files/deb/dashboard/preinst') diff --git a/packaging/cmake/pkg-files/deb/dashboard/preinst b/packaging/cmake/pkg-files/deb/dashboard/preinst new file mode 100755 index 000000000..57615ec06 --- /dev/null +++ b/packaging/cmake/pkg-files/deb/dashboard/preinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +case "$1" in + install) + if ! getent group netdata > /dev/null; then + addgroup --quiet --system netdata + fi + ;; +esac -- cgit v1.2.3