Skip to content

Commit

Permalink
Merge pull request #28 from intergral/zypper-install-fix
Browse files Browse the repository at this point in the history
Fix install commands for zypper - SUSE
  • Loading branch information
ibalal-intergral authored Feb 12, 2024
2 parents 090ab4f + 8897c22 commit 07244d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions linux/observability-agent-autoconf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 07244d0

Please sign in to comment.