src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/preinstall.template
--- a/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/preinstall.template Wed Mar 27 18:08:53 2019 -0400
+++ b/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/preinstall.template Thu Mar 28 08:08:07 2019 -0700
@@ -1,8 +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"
+if [ ! -d "INSTALL_LOCATION" ]
+then
+ mkdir -p "INSTALL_LOCATION"
fi
exit 0