Dear Mentors, 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.: [ ! -h /usr/share/moodle/lib/yui ] && ln -s /usr/share/javascript/yui /usr/share/moodle/lib/yui
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? Tomek -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d4efc11.8090...@gmail.com