Skip to content

Commit dad5968

Browse files
committed
packaging: coderabbit fixes
Signed-off-by: Dan Illescas <daniel.illescas@hpe.com>
1 parent 04fd8bc commit dad5968

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ZYPPER_VERSION=''
5353
if [ -n "${RELEASE_VERSION}" ]; then
5454
APT_VERSION="=$RELEASE_VERSION"
5555
YUM_VERSION="-$RELEASE_VERSION"
56-
ZYPPER_VERSION="-$RELEASE_VERSION"
56+
ZYPPER_VERSION="=$RELEASE_VERSION"
5757
fi
5858

5959
# Now set up repos and install dependent on OS, version, etc.
@@ -149,7 +149,7 @@ $INSTALL_CMD_PREFIX apt-get -y $APT_PARAMETERS install $INSTALL_PACKAGE_NAME$APT
149149
SCRIPT
150150
;;
151151
opensuse-leap)
152-
# Leap has a VERSION_ID like "15.6"
152+
# Leap requires VERSION_ID whereas SLES uses $releasever
153153
$SUDO sh <<SCRIPT
154154
rpm --import $RELEASE_KEY
155155
cat << EOF > /etc/zypp/repos.d/fluent-bit.repo

0 commit comments

Comments
 (0)