netdata/packaging: Fix installer scripts documentation. updater is, well, updater (not uninstaller). Also some style
This commit is contained in:
parent
dc218369c6
commit
fb49bb93a9
|
@ -2,14 +2,15 @@
|
|||
#shellcheck disable=SC2181
|
||||
#
|
||||
# This is the netdata uninstaller script
|
||||
#
|
||||
# Variables needed by script and taken from '.environment' file:
|
||||
# - NETDATA_PREFIX
|
||||
# - NETDATA_ADDED_TO_GROUPS
|
||||
#
|
||||
# Copyright: SPDX-License-Identifier: GPL-3.0-or-later
|
||||
#
|
||||
# Author: Paul Emm. Katsoulakis <paul@netdata.cloud>
|
||||
#
|
||||
# Author: Paweł Krupa <paulfantom@gmail.com>
|
||||
# Author: Pavlos Emm. Katsoulakis <paul@netdata.cloud>
|
||||
|
||||
usage="$(basename "$0") [-h] [-f ] -- program to calculate the answer to life, the universe and everything
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
#shellcheck disable=SC2164
|
||||
|
||||
# this script will uninstall netdata
|
||||
|
||||
#
|
||||
# Netdata updater utility
|
||||
#
|
||||
# Variables needed by script:
|
||||
# - PATH
|
||||
# - CFLAGS
|
||||
|
@ -11,6 +11,12 @@
|
|||
# - NETDATA_TARBALL_URL
|
||||
# - NETDATA_TARBALL_CHECKSUM_URL
|
||||
# - NETDATA_TARBALL_CHECKSUM
|
||||
#
|
||||
#
|
||||
# Copyright: SPDX-License-Identifier: GPL-3.0-or-later
|
||||
#
|
||||
# Author: Paweł Krupa <paulfantom@gmail.com>
|
||||
# Author: Pavlos Emm. Katsoulakis <paul@netdata.cloud>
|
||||
|
||||
info() {
|
||||
echo >&3 "$(date) : INFO: " "${@}"
|
||||
|
|
Loading…
Reference in New Issue