On Mon, Jun 30, 2008 at 12:41 PM, Martin Costabel <[EMAIL PROTECTED]> wrote: > Jonathan Stickel wrote: >> What is the best way to work with a Fink installed file that is shared >> and modified by a set of different fink packages? >> >> I ran into this problem when I attempted to write separate .info files >> for each of the of the octave-forge packages (currently a monolithic >> package in Fink). Each package writes to a single file that tells >> Octave which packages are installed, typically >> "/sw/share/octave/octave_packages". If I try to do so with my limited >> fink knowledge, I run into sandbox or file overwrite errors. > > Here are two possibilities: > > 1. Use the "Replaces:" field. This allows to overwrite files of other > packages.
If octave_packages is a list of installed packages, then the full list would not be known when a single package is built. > 2. Don't install the file into the package via InstallScript, but > install it directly via PostInstScript. Right, I'm thinking you would want to add the package to the list in the PostInstScript, and remove it in the PreRmScript. The important part is that you don't want to ship the /sw/share/octave/octave_packages file in the .deb. -- - Charles Lepple ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Fink-devel mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.devel
