mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Get the correct script path for the classic mac pkgs
This commit is contained in:
parent
18d444066e
commit
69ed840702
1 changed files with 5 additions and 1 deletions
|
@ -1321,7 +1321,11 @@ class PkgMixin:
|
|||
salt_pkg_install: SaltPkgInstall = attr.ib()
|
||||
|
||||
def get_script_path(self):
|
||||
if self.salt_pkg_install.compressed:
|
||||
if self.salt_pkg_install.compressed or (
|
||||
platform.is_darwin()
|
||||
and self.salt_pkg_install.classic
|
||||
and self.salt_pkg_install.upgrade
|
||||
):
|
||||
if self.salt_pkg_install.run_root and os.path.exists(
|
||||
self.salt_pkg_install.run_root
|
||||
):
|
||||
|
|
Loading…
Add table
Reference in a new issue