summaryrefslogtreecommitdiffstats
path: root/packaging/makeself/install-or-update.sh
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2022-02-15 17:23:32 +0300
committerGitHub <noreply@github.com>2022-02-15 17:23:32 +0300
commit2ff0c5c3cf96a80eaed28c955edb00dc6a249dd8 (patch)
tree2b1afe173fe5c06ddda19ab4512670340fa7a3ae /packaging/makeself/install-or-update.sh
parente7102bd84f7804ee7dadc9e2d43fb36c4289ee08 (diff)
rename DO_NOT_TRACK to DISABLE_TELEMETRY (#12126)
Diffstat (limited to 'packaging/makeself/install-or-update.sh')
-rwxr-xr-xpackaging/makeself/install-or-update.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/makeself/install-or-update.sh b/packaging/makeself/install-or-update.sh
index 13d178d31d..2fd7629b20 100755
--- a/packaging/makeself/install-or-update.sh
+++ b/packaging/makeself/install-or-update.sh
@@ -58,7 +58,10 @@ while [ "${1}" ]; do
shift 1
done
-if [ ! "${DO_NOT_TRACK:-0}" -eq 0 ] || [ -n "$DO_NOT_TRACK" ]; then
+if [ ! "${DISABLE_TELEMETRY:-0}" -eq 0 ] ||
+ [ -n "$DISABLE_TELEMETRY" ] ||
+ [ ! "${DO_NOT_TRACK:-0}" -eq 0 ] ||
+ [ -n "$DO_NOT_TRACK" ]; then
NETDATA_DISABLE_TELEMETRY=1
REINSTALL_OPTIONS="${REINSTALL_OPTIONS} --disable-telemetry"
fi