Re: Installing in the user's home directory (PackageMaker Tiger and Leoprad)
Re: Installing in the user's home directory (PackageMaker Tiger and Leoprad)
- Subject: Re: Installing in the user's home directory (PackageMaker Tiger and Leoprad)
- From: Robert Claeson <email@hidden>
- Date: Fri, 20 Jun 2008 10:04:51 +0200
On 19 Jun 2008, at 23:12, Bryan S. Lee wrote:
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.
I’d install it to /private/tmp/somefolder/ from PackageMaker
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/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden