master
sh 17 lines 581 Bytes
Raw
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::Setting correct install type information in install path" || true
9
10 # Properly mark the install type
11 cat > "${NETDATA_INSTALL_PATH}/etc/netdata/.install-type" <<-EOF
12 INSTALL_TYPE='manual-static'
13 PREBUILT_ARCH='${BUILDARCH}'
14 EOF
15
16 # shellcheck disable=SC2015
17 [ "${GITHUB_ACTIONS}" = "true" ] && echo "::endgroup::" || true