summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
authorTimo <6674623+underhood@users.noreply.github.com>2020-03-25 11:42:03 +0100
committerGitHub <noreply@github.com>2020-03-25 11:42:03 +0100
commit69a61fcd45166e640b0d1870ff3189e5cba49df5 (patch)
tree00c981aa53a90a53888e82bbc158c668866cea75 /netdata-installer.sh
parentf6be65b39b8bb91cabcad5d78c4ba17433babc40 (diff)
minor - makes ACLK build fail more prominent (#8470)
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index 47eb75a081..8374169745 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -48,6 +48,10 @@ defer_error() {
NETDATA_DEFERRED_ERRORS="${NETDATA_DEFERRED_ERRORS}\n* ${1}"
}
+defer_error_highlighted() {
+ NETDATA_DEFERRED_ERRORS="${TPUT_YELLOW}${TPUT_BOLD}${NETDATA_DEFERRED_ERRORS}\n* ${1}${TPUT_RESET}"
+}
+
print_deferred_errors() {
if [ -n "${NETDATA_DEFERRED_ERRORS}" ] ; then
echo >&2
@@ -503,11 +507,11 @@ bundle_libmosquitto() {
run_ok "libmosquitto built and prepared."
else
run_failed "Failed to build libmosquitto. The install process will continue, but you will not be able to connect this node to Netdata Cloud."
- defer_error "Failed to build libmosquitto. The install process will continue, but you will not be able to connect this node to Netdata Cloud."
+ defer_error_highlighted "Failed to build libmosquitto. The install process will continue, but you will not be able to connect this node to Netdata Cloud."
fi
else
run_failed "Unable to fetch sources for libmosquitto. The install process will continue, but you will not be able to connect this node to Netdata Cloud."
- defer_error "Unable to fetch sources for libmosquitto. The install process will continue, but you will not be able to connect this node to Netdata Cloud."
+ defer_error_highlighted "Unable to fetch sources for libmosquitto. The install process will continue, but you will not be able to connect this node to Netdata Cloud."
fi
}
@@ -557,11 +561,11 @@ bundle_libwebsockets() {
run_ok "libwebsockets built and prepared."
else
run_failed "Failed to build libwebsockets. The install process will continue, but you may not be able to connect this node to Netdata Cloud."
- defer_error "Failed to build libwebsockets. The install process will continue, but you may not be able to connect this node to Netdata Cloud."
+ defer_error_highlighted "Failed to build libwebsockets. The install process will continue, but you may not be able to connect this node to Netdata Cloud."
fi
else
run_failed "Unable to fetch sources for libwebsockets. The install process will continue, but you may not be able to connect this node to Netdata Cloud."
- defer_error "Unable to fetch sources for libwebsockets. The install process will continue, but you may not be able to connect this node to Netdata Cloud."
+ defer_error_highlighted "Unable to fetch sources for libwebsockets. The install process will continue, but you may not be able to connect this node to Netdata Cloud."
fi
}