Update README, fix incorrect comment

This commit is contained in:
Chris Long
2019-04-10 22:26:44 -07:00
parent fcb74cbd0c
commit 0d3ba24cfc
2 changed files with 5 additions and 3 deletions

View File

@@ -407,9 +407,9 @@ test_suricata_prerequisites() {
# One-off support for packages which aren't installed via dpkg
echo "[TEST] Validating that yq is correctly installed..."
# Loop through each package using which
# Check if the binary exists
if ! [ -f /root/go/bin/yq ]; then
# If which returns a non-zero return code, try to re-install the package
# If it doesn't exist, try to re-install the package
echo "[-] yq was not found. Attempting to reinstall."
/usr/local/go/bin/go get -u github.com/mikefarah/yq
if ! [ -f /root/go/bin/yq ]; then