Re: Installing in the user's home directory (PackageMaker Tiger and Leoprad)
site_archiver@lists.apple.com Delivered-To: Installer-dev@lists.apple.com On 19 Jun 2008, at 23:12, Bryan S. Lee wrote: I’d install it to /private/tmp/somefolder/ from PackageMaker _______________________________________________ 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... I use the $USER variable in my scripts to get to the user’s home directory. For instance, say I’m installing a preferences file with a serial number for a particular app, but it needs to be in their ~/Library/ Preferences folder. Then have a postscript that moves the file to /Users/$USER/Library/ Preferences/ I use $HOME to get the user's home directory so the postscript becomes $HOME/Library/Preferences/ This email sent to site_archiver@lists.apple.com
participants (1)
-
Robert Claeson