mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 17:50:22 +00:00
feat(bootstrap-salt): handle openSUSE downstream repo change for 15.4
The difference between `15.3` and `15.4` can be seen here: * https://download.opensuse.org/repositories/systemsmanagement:/saltstack/ - `openSUSE_Leap_15.3` - `15.4` (i.e. not `openSUSE_Leap_15.4`)
This commit is contained in:
parent
ba1ee56907
commit
b903662ad0
1 changed files with 2 additions and 0 deletions
|
@ -6463,6 +6463,8 @@ __set_suse_pkg_repo() {
|
|||
# Set distro repo variable
|
||||
if [ "${DISTRO_MAJOR_VERSION}" -gt 2015 ]; then
|
||||
DISTRO_REPO="openSUSE_Tumbleweed"
|
||||
elif [ "${DISTRO_MAJOR_VERSION}" -eq 15 ] && [ "${DISTRO_MINOR_VERSION}" -ge 4 ]; then
|
||||
DISTRO_REPO="${DISTRO_MAJOR_VERSION}.${DISTRO_MINOR_VERSION}"
|
||||
elif [ "${DISTRO_MAJOR_VERSION}" -ge 42 ] || [ "${DISTRO_MAJOR_VERSION}" -eq 15 ]; then
|
||||
DISTRO_REPO="openSUSE_Leap_${DISTRO_MAJOR_VERSION}.${DISTRO_MINOR_VERSION}"
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue