diff options
author | Paul Emm. Katsoulakis <34388743+paulkatsoulakis@users.noreply.github.com> | 2019-09-19 11:40:53 +0300 |
---|---|---|
committer | Chris Akritidis <43294513+cakrit@users.noreply.github.com> | 2019-09-19 10:40:53 +0200 |
commit | 6dd4a11ec327aa5d0dc9df00cf61d2a03800ad48 (patch) | |
tree | 026b4d2da758479eb9e522a3aa188f7c8abea305 /packaging | |
parent | 2cd5f08007479b299954e60281afa9d961adfbc9 (diff) |
netdata/packaging: fix kickstart-static64 argument parsing (#6892)
* netdata/packaging: fix kickstart-static64 argument parsing
* netdata/packaging: update md5sum
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/installer/README.md | 2 | ||||
-rwxr-xr-x | packaging/installer/kickstart-static64.sh | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/packaging/installer/README.md b/packaging/installer/README.md index fa822608b9..8baa773900 100644 --- a/packaging/installer/README.md +++ b/packaging/installer/README.md @@ -109,7 +109,7 @@ This script installs Netdata at `/opt/netdata`. Verify the integrity of the script with this: ```bash -[ "5c432e78d5f40403e8b7c00b1a19a7ca" = "$(curl -Ss https://my-netdata.io/kickstart-static64.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID" +[ "c529e4eb7ce201845cef605d450f8380" = "$(curl -Ss https://my-netdata.io/kickstart-static64.sh | md5sum | cut -d ' ' -f 1)" ] && echo "OK, VALID" || echo "FAILED, INVALID" ``` *It should print `OK, VALID` if the script is the one we ship.* diff --git a/packaging/installer/kickstart-static64.sh b/packaging/installer/kickstart-static64.sh index c5bb91dba4..a988e4f62b 100755 --- a/packaging/installer/kickstart-static64.sh +++ b/packaging/installer/kickstart-static64.sh @@ -188,10 +188,13 @@ RELEASE_CHANNEL="nightly" while [ -n "${1}" ]; do if [ "${1}" = "--dont-wait" ] || [ "${1}" = "--non-interactive" ] || [ "${1}" = "--accept" ]; then opts="${opts} --accept" + shift 1 elif [ "${1}" = "--dont-start-it" ]; then inner_opts="${inner_opts} ${1}" + shift 1 elif [ "${1}" = "--stable-channel" ]; then RELEASE_CHANNEL="stable" + shift 1 elif [ "${1}" = "--local-files" ]; then shift 1 if [ -z "${1}" ]; then |