diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2023-01-04 07:34:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-04 07:34:28 -0500 |
commit | df379e45fbaddf825f1f7972a75ae3f3daf80097 (patch) | |
tree | e24c9547792ff227ea0c750d4ae8dbb875c0b91f /packaging/installer/kickstart.sh | |
parent | 7793b9c3bfe75b3649518ec78954a80b3e33bd38 (diff) |
Finish renaming the `--install` option to `--install-prefix`. (#13881)
* Finish renaming the `--install` option to `--install-prefix`.
* Fix remaining references to `--install` option.
Diffstat (limited to 'packaging/installer/kickstart.sh')
-rwxr-xr-x | packaging/installer/kickstart.sh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/packaging/installer/kickstart.sh b/packaging/installer/kickstart.sh index 8016032676..d671a593d0 100755 --- a/packaging/installer/kickstart.sh +++ b/packaging/installer/kickstart.sh @@ -183,7 +183,6 @@ USAGE: kickstart.sh [options] --reinstall-even-if-unsafe Even try to reinstall if we don't think we can do so safely (implies --reinstall). --disable-cloud Disable support for Netdata Cloud (default: detect) --require-cloud Only install if Netdata Cloud can be enabled. Overrides --disable-cloud. - --install <path> This option is deprecated and will be removed in a future version, use --install-prefix instead. --install-prefix <path> Specify an installation prefix for local builds (default: autodetect based on system type). --old-install-prefix <path> Specify an old local builds installation prefix for uninstall/reinstall (if it's not default). --install-version <version> Specify the version of Netdata to install. @@ -1046,7 +1045,7 @@ EOF confirm_install_prefix() { if [ -n "${INSTALL_PREFIX}" ] && [ "${NETDATA_ONLY_BUILD}" -ne 1 ]; then - fatal "The --install-prefix and --install options are only supported together with the --build-only option." F0204 + fatal "The --install-prefix option is only supported together with the --build-only option." F0204 fi if [ -n "${INSTALL_PREFIX}" ]; then @@ -2154,11 +2153,6 @@ parse_args() { NETDATA_DISABLE_TELEMETRY="1" NETDATA_INSTALLER_OPTIONS="${NETDATA_INSTALLER_OPTIONS} --disable-telemetry" ;; - "--install") - warning "--install flag is deprecated and will be removed in a future version. Please use --install-prefix instead." - INSTALL_PREFIX="${2}" - shift 1 - ;; "--install-prefix") INSTALL_PREFIX="${2}" shift 1 |