mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Revert "update photon paths to use their $releasever string string which includes .0"
This reverts commit fd4e3a225a
.
This commit is contained in:
parent
fd4e3a225a
commit
99c6260b8f
2 changed files with 0 additions and 6 deletions
|
@ -256,9 +256,6 @@ def setup_redhat_family(
|
|||
):
|
||||
arch = os.environ.get("SALT_REPO_ARCH") or "x86_64"
|
||||
|
||||
if os_name == "photon":
|
||||
os_version = f"{os_version}.0"
|
||||
|
||||
if repo_subpath == "minor":
|
||||
repo_url_base = (
|
||||
f"{root_url}/{os_name}/{os_version}/{arch}/{repo_subpath}/{salt_release}"
|
||||
|
|
|
@ -380,9 +380,6 @@ def rpm(
|
|||
assert incoming is not None
|
||||
assert repo_path is not None
|
||||
assert key_id is not None
|
||||
|
||||
if distro == "photon":
|
||||
distro_version = f"{distro_version}.0"
|
||||
display_name = f"{distro.capitalize()} {distro_version}"
|
||||
if distro_version not in _rpm_distro_info[distro]:
|
||||
ctx.error(f"Support for {display_name} is missing.")
|
||||
|
|
Loading…
Add table
Reference in a new issue