[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Adding a symlink to a library in postinst

On Mon, Feb 7, 2011 at 3:52 AM, Tomasz Muras <nexor1984@gmail.com> wrote:

> This seems to be the best way to handle this but I'm wondering why is it
> done in postinst script. Removing bundled libraries is done while
> building the package (in debian/rules), I think I could simply create a
> symlink at this point and "ship" it as part of the package.

I think it is better to use a symlink created at build time. You will
probably need to deal with upgrades from the old version though, by
removing the symlink in preinst, then it will be re-added when the
package is unpacked.



Reply to: