Skip to content

Commit 09a3530

Browse files
Update install.sh for openSUSE (#216)
1 parent a23aa59 commit 09a3530

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/scripts/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ _discover_distro_repo() {
104104
;;
105105
opensuse-leap)
106106
_check_version_id
107-
DISTRO_REPO="openSUSE_Leap_${VERSION_ID}"
107+
DISTRO_REPO="${VERSION_ID}"
108108
;;
109109
"")
110110
_error "Unable to identify distribution. You may specify one with environment variable DISTRO_REPO"
@@ -277,7 +277,7 @@ case $DISTRO_REPO in
277277
CentOS*)
278278
_install_yum
279279
;;
280-
openSUSE*)
280+
15.* | openSUSE*)
281281
_install_zypper
282282
;;
283283
*)

0 commit comments

Comments
 (0)