Alexander K. Hansen wrote:
> On Monday 04 February 2008 05:40:02 pm Martin Costabel wrote:
> 
>>Alexander Hansen wrote:
>>[]
>>
>>
>>>cp: /sw2/bin/ruby-aqua1.8/rsrc: Not a directory
>>>/sw2/bin/dpkg: error processing ruby18 (--install):
>>> subprocess post-installation script returned error exit status 1
>>>Errors were encountered while processing:
>>> ruby18
>>
>>To avoid trouble with coreutils-default or other replacement 'cp's, the
>>postinst script should probably use explicitly '/bin/cp' instead of
>>simply 'cp'.
> 
> 
> That's probably a good idea, but I initially got the error with Leopard's 
> built in /bin/cp .

Strange. With Leopard's /bin/cp I get

cp: /sw/share/doc/ruby18/logo/ruby.png/rsrc: could not copy extended 
attributes to /sw/bin/ruby-aqua1.8/rsrc: Operation not permitted

This looks like an error message, but it does not make the postinst 
script fail, and the resource fork is copied in spite of the protestation.

-- 
Martin







-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to