On 07/03/2008, Martin Costabel <[EMAIL PROTECTED]> wrote:
> Alexander K. Hansen wrote:
>  > Nobody has committed a fix to it yet.
>
>  Direct copying of resource forks does not seem to be permitted on
>  Leopard. The following postinstscript seems to work on Leopard, however,
>  even on non-HFS file systems. I have no idea if it works on Tiger.
>
>  sips -i %p/share/doc/%n/logo/ruby.png
>  mv %p/bin/ruby-aqua1.8 %p/bin/ruby-aqua1.8_exe
>  /bin/cp  %p/share/doc/%n/logo/ruby.png %p/bin/ruby-aqua1.8
>  /bin/cp -X %p/bin/ruby-aqua1.8_exe %p/bin/ruby-aqua1.8
>  rm %p/bin/ruby-aqua1.8_exe
>

Thanks for the script. This could work on non-hfs filesystems as well
as the resource fork is not directly referenced anywhere. However, on
10.4 cp does not support the -X option.

Also this script misses the most important part - making ruby an
application. The whole stuff with icons is just an extra that I added
since I had to mess with resources anyway.

Thanks

Michal

-------------------------------------------------------------------------
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-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to