From 69a3d6eb6a3951ad47ecd6e58d0a248e0d2054d4 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Wed, 29 Nov 2023 03:16:30 -0600 Subject: [PATCH] fix mixed function name --- opensearch-1.x-node-installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opensearch-1.x-node-installer.sh b/opensearch-1.x-node-installer.sh index 4905583..53d9bf6 100644 --- a/opensearch-1.x-node-installer.sh +++ b/opensearch-1.x-node-installer.sh @@ -30,7 +30,7 @@ NL="$(printf '\n ')" printwc() { printf "%b$2%b" "$1" "${Color_Off}" } -install_ifnot() { +install_if_not() { if [ "$(dpkg-query -W -f='${Status}' "$1" 2>/dev/null | \ grep -c "ok installed")" == "1" ]; then echo " $1 is installed, skipping..."