Koen van der Drift wrote:

> Since part of the installation process is a test for the package, these
> folders need to be created before the InstallScript is executed, so I
> thought about putting them in PreInstScript. However, you are correct
> about the ownership, it is root, not the username, and the test cannot
> be run Is there a way to set the ownership of these folders to the user,
> without knowing in advance what the user name is?
> 
> If this is not doable, I will use your second suggestion, and remove the
> test from the installation script.

Considering that multiple users can use a given mac, I don't see how you
can assume the only person who will need those files in their home
directory is the person installing the package.

You could do something like make a wrapper script that checks for the
stuff in home and then calls the real version of the program, if you
really want it to be seamless.

-- 
Benjamin Reed a.k.a. Ranger Rick
http://ranger.befunk.com/




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to