summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
authorChris Akritidis <43294513+cakrit@users.noreply.github.com>2019-03-04 17:32:41 +0100
committerGitHub <noreply@github.com>2019-03-04 17:32:41 +0100
commit0a2145ad7aa7890170f8b445db5c07143e99578b (patch)
tree22fc4d124f069219471184b41b673fbd2af9a803 /netdata-installer.sh
parentb5ab303c692e3dd4461028095615ffd68b76515c (diff)
Correct go.d.plugin sha256sum check (#5539)
* Correct go.d.plugin sha256sum check * Put the dollar in the right place
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index 181f200718..b8d4a8f264 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -823,7 +823,7 @@ install_go() {
download "https://github.com/netdata/go.d.plugin/releases/download/$GO_PACKAGE_VERSION/$GO_PACKAGE_BASENAME" "${tmp}/$GO_PACKAGE_BASENAME"
download "https://github.com/netdata/go.d.plugin/releases/download/$GO_PACKAGE_VERSION/config.tar.gz" "${tmp}/config.tar.gz"
- grep "${GO_PACKAGE_BASENAME}" "${installer_dir}/packaging/go.d.checksums" > "${tmp}/sha256sums.txt" 2>/dev/null
+ grep "${GO_PACKAGE_BASENAME}\$" "${installer_dir}/packaging/go.d.checksums" > "${tmp}/sha256sums.txt" 2>/dev/null
grep "config.tar.gz" "${installer_dir}/packaging/go.d.checksums" >> "${tmp}/sha256sums.txt" 2>/dev/null
# Checksum validation