| 1 | #!/usr/bin/env bash |
| 2 | # SPDX-License-Identifier: GPL-3.0-or-later |
| 3 | |
| 4 | # shellcheck source=./packaging/makeself/functions.sh |
| 5 | . "${NETDATA_MAKESELF_PATH}"/functions.sh "${@}" || exit 1 |
| 6 | |
| 7 | # shellcheck disable=SC2015 |
| 8 | [ "${GITHUB_ACTIONS}" = "true" ] && echo "::group::Fixing up agent configuration files" || true |
| 9 | |
| 10 | # Remove the netdata.conf file from the tree. It has hard-coded sensible defaults builtin. |
| 11 | run rm -f "${NETDATA_INSTALL_PATH}/etc/netdata/netdata.conf" |
| 12 | |
| 13 | # shellcheck disable=SC2015 |
| 14 | [ "${GITHUB_ACTIONS}" = "true" ] && echo "::endgroup::" || true |