Re: [homebrew] Linking launch script in bin
- From:
- Adam Vandenberg
- Date:
- 2012-01-23 @ 22:21
Use "#{bin}/exe-name" instead, it will get symlinked correctly and
removed correctly.
On Mon, Jan 23, 2012 at 2:02 PM, Alan Franzoni <mailing@franzoni.eu> wrote:
> Hello,
> I've just created my first formula, for mangle, a Kindle comic book
> converter.
>
> https://github.com/alanfranz/homebrew/blob/master/Library/Formula/mangle.rb
>
> I've got a doubt: in the install I'm creating a "launcher" script which
> sets the proper PYTHONPATH (required for pyqt), and I'm putting it in
> the 'bin' directory under HOMEBREW_PREFIX.
>
> Is that considered good practice? What should I do, otherwise? This is
> truly an homebrew-related launcher; it doesn't pertain to the upstream
> software.
>
> And how can I have it deleted when the formula is removed?
>
>
> --
> Alan Franzoni
> contact me at public@[mysurname].eu