src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/preinstall.template
author herrick
Mon, 11 Mar 2019 14:44:00 -0400
branchJDK-8200758-branch
changeset 57256 d7c27451f759
parent 57039 98d3963b0b7b
child 57290 47c2aca6c306
permissions -rw-r--r--
8219678: CLI changes in jpackage Reviewed-by: almatvee
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
57038
b0f09e7c4680 8213963: Flatten out jpackager packages and resources
herrick
parents:
diff changeset
     1
#!/usr/bin/env sh
b0f09e7c4680 8213963: Flatten out jpackager packages and resources
herrick
parents:
diff changeset
     2
b0f09e7c4680 8213963: Flatten out jpackager packages and resources
herrick
parents:
diff changeset
     3
set -e
b0f09e7c4680 8213963: Flatten out jpackager packages and resources
herrick
parents:
diff changeset
     4
if launchctl list "DEPLOY_DAEMON_IDENTIFIER" &> /dev/null; then
b0f09e7c4680 8213963: Flatten out jpackager packages and resources
herrick
parents:
diff changeset
     5
    launchctl unload "/Library/LaunchDaemons/DEPLOY_LAUNCHD_PLIST_FILE"
b0f09e7c4680 8213963: Flatten out jpackager packages and resources
herrick
parents:
diff changeset
     6
fi
b0f09e7c4680 8213963: Flatten out jpackager packages and resources
herrick
parents:
diff changeset
     7
b0f09e7c4680 8213963: Flatten out jpackager packages and resources
herrick
parents:
diff changeset
     8
exit 0