mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Fix the condition in another spot
This commit is contained in:
parent
6518cedcb5
commit
1f5191ec65
1 changed files with 1 additions and 1 deletions
|
@ -532,7 +532,7 @@ def setup_windows(
|
|||
|
||||
@pytest.fixture(scope="module")
|
||||
def install_dir(_setup_system, package_type, onedir_install_path):
|
||||
if package_type == "package":
|
||||
if package_type != "onedir":
|
||||
if platform.is_windows():
|
||||
return pathlib.Path(
|
||||
os.getenv("ProgramFiles"), "Salt Project", "Salt"
|
||||
|
|
Loading…
Add table
Reference in a new issue