src/jdk.jpackager/macosx/classes/jdk/jpackager/internal/resources/preinstall.template
author herrick
Wed, 21 Nov 2018 17:50:46 -0500
branchJDK-8200758-branch
changeset 57038 b0f09e7c4680
permissions -rw-r--r--
8213963: Flatten out jpackager packages and resources Reviewed-by: almatvee

#!/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