Martin Costabel wrote:

I really don't think we should have packages install their stuff directly in /sw/Applications in their install phase; instead I think we

I'm not sure if I understand you here. The finkcommander package builds in /sw/src/finkcommander-0.5.1-2/FinkCommander and installs into /sw/src/root-finkcommander-0.5.1-2/sw/Applications/ like any other package would do.
[]

What I mean is, I prefer the abstraction of a field that denotes app bundles that were in the package, rather than just letting the packager do it in InstallScript, since it gives us an extra bit of metadata that's easier to track. Of course it always goes in the destroot.


OK, I see this now, too. Must be new in Panther. The finder treats symlinks like aliases, even calls them "alias" in "Get Info".

Yeah, I've not really looked at it on 10.2.


It is similar to what you do when you install apps that come packaged in dmgs: You get something dumped on your desktop and then you are supposed to copy it to /Applications or wherever else you want. You can also drop it into the Dock. Of course you don't leave all this stuff on your desktop.

Sure, but when a person mounts a dmg they're doing it for themselves. When you install a package in fink you're generally doing "system administration", ie, installing something designed to be installed in a global place accessible by all users. It's a nitpicky thing, just seems like it could be potentially confusing to users of multi-login systems. When you mount a dmg and are using fast user switching, it shows up for everyone, doesn't it? If you install a Fink package and it only puts it on the active desktop, I can see people asking "How come he got the icon but I didn't?"


Like I said, nitpicky, but these are the kinds of things that can annoy casual users. If we're going to have this behavior, it's important to be able to explain *why* it's done that way. :)

There are some things I don't understand about this alias anyway:
It is easy to create using the mkalias command from the osxutils package, but it doesn't seem to get removed by the PreRmScript. Maybe I don't understand with what environment and uid the PreRmScript is executed (if ever).


OTOH, the alias has permissions

-rw-r--r-- 1 root staff 0 1 Feb 18:19 FinkCommander Alias

which would imply that I (non-root) don't have the permission to remove it. But using the Finder, I can move it where I want, including into the Trash, and empty the Trash without questions asked. Weird.

Hm, yeah, that's odd.


All of the scripts are run as root (because we su to do any dpkg operations).


------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to