mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Fix mac upgrade test urls
This commit is contained in:
parent
9a4e026d59
commit
0ec60c70d2
1 changed files with 4 additions and 4 deletions
|
@ -798,14 +798,14 @@ class SaltPkgInstall:
|
|||
|
||||
elif platform.is_darwin():
|
||||
if self.classic:
|
||||
mac_pkg = f"salt-{min_ver}.{minor_ver}-1-py3-x86_64.pkg"
|
||||
mac_pkg = f"salt-{self.prev_version}-py3-x86_64.pkg"
|
||||
mac_pkg_url = f"https://repo.saltproject.io/osx/{mac_pkg}"
|
||||
else:
|
||||
if not relenv:
|
||||
mac_pkg = f"salt-{min_ver}.{minor_ver}-1-macos-x86_64.pkg"
|
||||
mac_pkg_url = f"https://repo.saltproject.io/salt/py3/macos/{major_ver}.{minor_ver}-1/{mac_pkg}"
|
||||
mac_pkg = f"salt-{self.prev_version}-macos-x86_64.pkg"
|
||||
mac_pkg_url = f"https://repo.saltproject.io/salt/py3/macos/{self.prev_version}/{mac_pkg}"
|
||||
else:
|
||||
mac_pkg = f"salt-{self.prev_verison}-x86_64.pkg"
|
||||
mac_pkg = f"salt-{self.prev_version}-x86_64.pkg"
|
||||
mac_pkg_url = f"https://repo.saltproject.io/salt/py3/macos/{major_ver}/{mac_pkg}"
|
||||
|
||||
mac_pkg_path = f"/tmp/{mac_pkg}"
|
||||
|
|
Loading…
Add table
Reference in a new issue