mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Windows has multiple package types, change the setup condition to reflect that
This commit is contained in:
parent
95d8e03a10
commit
6518cedcb5
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ def setup_windows(
|
|||
):
|
||||
try:
|
||||
arch = os.environ.get("SALT_REPO_ARCH") or "amd64"
|
||||
if package_type == "package":
|
||||
if package_type != "onedir":
|
||||
root_dir = pathlib.Path(r"C:\Program Files\Salt Project\Salt")
|
||||
|
||||
if packaging.version.parse(salt_release) > packaging.version.parse("3005"):
|
||||
|
|
Loading…
Add table
Reference in a new issue