@cryptotaxi247 / netdata-1 / commits / fb49bb93a

netdata/packaging: Fix installer scripts documentation. updater is, well, updater (not uninstaller). Also some style

Pavlos Emm. Katsoulakis committed Jul 22, 2019 at 22:52 UTC fb49bb93a9195bf09bcf2e58f5fde7af428d5ad1
2 files changed +12 -5
packaging/installer/netdata-uninstaller.sh
+3 -2
@@ -2,14 +2,15 @@
2 #shellcheck disable=SC2181
3 #
4 # This is the netdata uninstaller script
5 +#
6 # Variables needed by script and taken from '.environment' file:
7 # - NETDATA_PREFIX
8 # - NETDATA_ADDED_TO_GROUPS
9 #
10 # Copyright: SPDX-License-Identifier: GPL-3.0-or-later
11 #
11 -# Author: Paul Emm. Katsoulakis <paul@netdata.cloud>
12 -#
12 +# Author: Paweł Krupa <paulfantom@gmail.com>
13 +# Author: Pavlos Emm. Katsoulakis <paul@netdata.cloud>
14
15 usage="$(basename "$0") [-h] [-f ] -- program to calculate the answer to life, the universe and everything
16
packaging/installer/netdata-updater.sh
+9 -3
@@ -1,8 +1,8 @@
1 #!/usr/bin/env bash
2 #shellcheck disable=SC2164
3 -
4 -# this script will uninstall netdata
5 -
3 +#
4 +# Netdata updater utility
5 +#
6 # Variables needed by script:
7 # - PATH
8 # - CFLAGS
@@ -11,6 +11,12 @@
11 # - NETDATA_TARBALL_URL
12 # - NETDATA_TARBALL_CHECKSUM_URL
13 # - NETDATA_TARBALL_CHECKSUM
14 +#
15 +#
16 +# Copyright: SPDX-License-Identifier: GPL-3.0-or-later
17 +#
18 +# Author: Paweł Krupa <paulfantom@gmail.com>
19 +# Author: Pavlos Emm. Katsoulakis <paul@netdata.cloud>
20
21 info() {
22 echo >&3 "$(date) : INFO: " "${@}"