From 0a2145ad7aa7890170f8b445db5c07143e99578b Mon Sep 17 00:00:00 2001 From: Chris Akritidis <43294513+cakrit@users.noreply.github.com> Date: Mon, 4 Mar 2019 17:32:41 +0100 Subject: Correct go.d.plugin sha256sum check (#5539) * Correct go.d.plugin sha256sum check * Put the dollar in the right place --- netdata-installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'netdata-installer.sh') 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 -- cgit v1.2.3