Further debug

This commit is contained in:
David Murphy 2024-05-17 15:55:19 -06:00 committed by Daniel Wozniak
parent 24a44edf8c
commit 9138c3ccd2

View file

@ -483,9 +483,13 @@ class SaltPkgInstall:
log.debug("Installing: %s", str(pkg))
ret = self.proc.run("installer", "-pkg", str(pkg), "-target", "/")
self._check_retcode(ret)
## DGM # Stop the service installed by the installer
## DGM self.proc.run("launchctl", "disable", f"system/{service_name}")
## DGM self.proc.run("launchctl", "bootout", "system", str(plist_file))
## DGM TBD why stop service on upgrade ???
if not upgrade:
# Stop the service installed by the installer
self.proc.run("launchctl", "disable", f"system/{service_name}")
self.proc.run("launchctl", "bootout", "system", str(plist_file))
elif upgrade:
env = os.environ.copy()
extra_args = []