A question about locations within a package, vis-à-vis postinstall script
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AckzqYuERSZVhlK0rEeZAa8pLR1e3A== Thread-topic: A question about locations within a package, vis-à-vis postinstall script User-agent: Microsoft-Entourage/12.12.0.080729 Good morning all, I am creating an installer package using PackageMaker 3.0.2 from the command line. I am running a postinstall script that overall seems to work well (it is triggered and most of its commands are carried out.) The problem lies in the fact that I am trying to copy a launch daemon plist from the package to /Library/LaunchDaemons, and I cannot seem to find the proper syntax to tell the script where the launch daemon plist is located in the installer. Things are laid out like this (examining the package with Pacifist): engine.pkg pkgbaseengine.pkg scripts postinstall Resources launch daemon plist In my postinstall script, I am using the following line to try and place the launch daemon plist in the appropriate place which so far fails: sudo ditto ../Resources/com.company.launchd.engine_osx.plist /Library/LaunchDaemons/ As of right now, I do not know how to properly identify the starting location of the launch daemon to be able to copy it into the /Library/LaunchDaemons directory. I really appreciate any and all thoughts! TIA, Steve O'Sullivan _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
OSullivan, Steve