diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2022-02-15 17:23:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-15 17:23:32 +0300 |
commit | 2ff0c5c3cf96a80eaed28c955edb00dc6a249dd8 (patch) | |
tree | 2b1afe173fe5c06ddda19ab4512670340fa7a3ae /packaging/makeself | |
parent | e7102bd84f7804ee7dadc9e2d43fb36c4289ee08 (diff) |
rename DO_NOT_TRACK to DISABLE_TELEMETRY (#12126)
Diffstat (limited to 'packaging/makeself')
-rwxr-xr-x | packaging/makeself/install-or-update.sh | 5 | ||||
-rw-r--r-- | packaging/makeself/makeself-help-header.txt | 4 |
2 files changed, 6 insertions, 3 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 diff --git a/packaging/makeself/makeself-help-header.txt b/packaging/makeself/makeself-help-header.txt index 9bcbf45189..8ed15e2e7f 100644 --- a/packaging/makeself/makeself-help-header.txt +++ b/packaging/makeself/makeself-help-header.txt @@ -45,5 +45,5 @@ Anonymous stat collection and reporting to Netdata is enabled by default. To disable, pass --disable-telemetry option to the installer - or export the environment variable DO_NOT_TRACK to a non-zero or non-empty - value (e.g export DO_NOT_TRACK=1). + or export the environment variable DISABLE_TELEMETRY to a non-zero or non-empty + value (e.g export DISABLE_TELEMETRY=1). |