Correct go.d.plugin sha256sum check (#5539)
* Correct go.d.plugin sha256sum check * Put the dollar in the right place
Chris Akritidis committed
Mar 4, 2019 at 17:32 UTC
0a2145ad7aa7890170f8b445db5c07143e99578b
1 file changed
+1
-1
netdata-installer.sh
+1
-1
@@ -823,7 +823,7 @@ install_go() {
823
download "https://github.com/netdata/go.d.plugin/releases/download/$GO_PACKAGE_VERSION/$GO_PACKAGE_BASENAME" "${tmp}/$GO_PACKAGE_BASENAME"
824
825
download "https://github.com/netdata/go.d.plugin/releases/download/$GO_PACKAGE_VERSION/config.tar.gz" "${tmp}/config.tar.gz"
826
- grep "${GO_PACKAGE_BASENAME}" "${installer_dir}/packaging/go.d.checksums" > "${tmp}/sha256sums.txt" 2>/dev/null
826
+ grep "${GO_PACKAGE_BASENAME}\$" "${installer_dir}/packaging/go.d.checksums" > "${tmp}/sha256sums.txt" 2>/dev/null
827
grep "config.tar.gz" "${installer_dir}/packaging/go.d.checksums" >> "${tmp}/sha256sums.txt" 2>/dev/null
828
829
# Checksum validation