Installing in the user's home directory (PackageMaker Tiger and Leoprad)
Installing in the user's home directory (PackageMaker Tiger and Leoprad)
- Subject: Installing in the user's home directory (PackageMaker Tiger and Leoprad)
- From: Eyal Redler <email@hidden>
- Date: Thu, 19 Jun 2008 23:38:20 +0300
Hi,
I need to install some files in the user's home directory using
PackageMaker. After browsing the net for answers I understand that one
possible solution to this is to install the files in some temp place
and then copy them over to the user folder in the postflight script.
What I'm missing are a few details:
a. How do I get the path to the user home folder, considering the fact
that the script is being run under root (will $HOME give me the right
result? it does in my tests but I don't know where this is documented
- I just saw some people use it)\
b. Are there any special considerations regarding ownership and
permissions
I thought this would be much more common problem and expected to find
many solutions on the net but to my surprise I couldn't find and
sample scripts for doing this, I would be grateful if someone could
share their scripts)
TIA
Eyal Redler
------------------------------------------------------------------------------------------------
"If Uri Geller bends spoons with divine powers, then he's doing it the
hard way."
--James Randi
www.eyalredler.com
_______________________________________________
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