From 8897c2212de75abe2470eec6918e29de36b86d4e Mon Sep 17 00:00:00 2001 From: Luke Markie Date: Mon, 5 Feb 2024 12:20:59 +0000 Subject: [PATCH] Fix install commands for zypper - SUSE --- linux/observability-agent-autoconf.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linux/observability-agent-autoconf.sh b/linux/observability-agent-autoconf.sh index e1a39bb..c242f39 100755 --- a/linux/observability-agent-autoconf.sh +++ b/linux/observability-agent-autoconf.sh @@ -111,7 +111,7 @@ if ! which curl >/dev/null; then yum -y install curl elif [ "$OS" = "SUSE" ]; then echo "Installing curl..." - zypper -y install curl + zypper install -y curl elif [ "$OS" = "macOS" ]; then echo "curl required" exit 1 @@ -131,7 +131,7 @@ if ! which tar >/dev/null; then yum -y install tar elif [ "$OS" = "SUSE" ]; then echo "Installing tar..." - zypper -y install tar + zypper install -y tar elif [ "$OS" = "macOS" ]; then echo "tar required" exit 1 @@ -151,7 +151,7 @@ if ! which ss >/dev/null; then yum -y install iproute2 elif [ "$OS" = "SUSE" ]; then echo "Installing iproute2..." - zypper -y install iproute2 + zypper install -y iproute2 elif [ "$OS" = "macOS" ]; then echo "iproute2mac required" exit 1 @@ -171,7 +171,7 @@ if ! which jq >/dev/null; then yum -y install jq elif [ "$OS" = "SUSE" ]; then echo "Installing jq..." - zypper -y install jq + zypper install -y jq elif [ "$OS" = "macOS" ]; then echo "jq required" exit 1