Adding a symlink to a library in postinst
The package I'm maintaining (moodle) is handling embedded libraries by
not shipping them in a binary package and then replacing them with a
symlink. Adding symlink is done in postinst, e.g.:
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.
Do you see any problem with it?