< prev index next >

src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/preinstall.template

Print this page


   1 #!/usr/bin/env sh
   2 
   3 set -e
   4 if launchctl list "DEPLOY_DAEMON_IDENTIFIER" &> /dev/null; then
   5     launchctl unload "/Library/LaunchDaemons/DEPLOY_LAUNCHD_PLIST_FILE"
   6 fi
   7 
   8 exit 0
   1 #!/usr/bin/env sh
   2 
   3 if [ ! -d "INSTALL_LOCATION" ]
   4 then
   5     mkdir -p "INSTALL_LOCATION"
   6 fi
   7 
   8 exit 0
< prev index next >