Get the classic mac packages to find the binaries

This commit is contained in:
MKLeb 2023-08-30 17:07:37 -04:00 committed by Pedro Algarvio
parent 226880e7c6
commit bca1e4af01

View file

@ -1198,11 +1198,7 @@ class PkgMixin:
salt_pkg_install: SaltPkgInstall = attr.ib()
def get_script_path(self):
if (
platform.is_darwin()
and self.salt_pkg_install.classic
and self.salt_pkg_install.upgrade
):
if platform.is_darwin() and self.salt_pkg_install.classic:
if self.salt_pkg_install.run_root and os.path.exists(
self.salt_pkg_install.run_root
):