branch | JDK-8200758-branch |
changeset 57039 | 98d3963b0b7b |
parent 57038 | b0f09e7c4680 |
child 57290 | 47c2aca6c306 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/preinstall.template Fri Nov 23 09:02:17 2018 -0500 @@ -0,0 +1,8 @@ +#!/usr/bin/env sh + +set -e +if launchctl list "DEPLOY_DAEMON_IDENTIFIER" &> /dev/null; then + launchctl unload "/Library/LaunchDaemons/DEPLOY_LAUNCHD_PLIST_FILE" +fi + +exit 0