On 16 mars 2004, at 16:21, David R. Morrison wrote:

Hi Martin.

How do you think we should include this with the bindist? Should we put
your .app on the disk in place of the current .command file? How should
the postinstall script of the bindist be set up? Should this shell script
be included with fink itself, in case someone wants to run it from the
command line?

Yes and yes, I guess.


Let me first see if I understand correctly how this is handled right now in the 0.6.2 binary Installer:
There are two quite different things:
- There is pathsetup.command on the surface of the Installer dmg, and
- there is /sw/bin/pathsetup.command. The latter is part of the "fink" package, where it is produced during installation from a pathsetup.command.in file. It is this freshly installed /sw/bin/pathsetup.command that is actually run by the Installer in its postflight script.
If the install directory is /sw (which, I believe, is always the case for the bindist), the two versions of pathsetup.command are actually identical (although the one on the surface of the Installer dmg sports an icon).


The proposition to replace these is: Replace the pathsetup.command on the surface of the Installer by the new pathsetup.app, and replace /sw/bin/pathsetup.command in "fink" by the new pathsetup.sh which would be created from a (not yet existing but easy to produce) pathsetup.sh.in. For the latter, there would have to be modifications in the fink sources in the files
install.sh
perlmod/Fink/Bootstrap.pm
setup.sh
plus a couple of doc files, INSTALL and INSTALL.html.
The "binary executable" in the app is again identical to the pathsetup.sh script, so it wouldn't matter which one is executed by the Installer.


--
Martin






------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to