On Wed, Dec 30, 2009 at 07:47:51PM +0000, Colin Tuckley wrote: > Bill Allombert wrote: > > > The only problem (IIRC) is that /usr/share/doc/lbreakout2-data is a symlink > > to /usr/share/doc/lbreakout2 and policy require the Dependency in that case > > (to ensure /usr/share/doc/lbreakout2-data/copyright is up-to-date), and > > replacing symlink by directory (used to ?) require some preinst code. > > Do you have an example of what is required in the preinst? I've not had > to do anything like that before.
The relevant Debian policy quote is 6.6. (4). I would suggest you add to the preinst of lbreakout2-data if test -L /usr/share/doc/lbreakout2-data; then rm /usr/share/doc/lbreakout2-data; fi and change lbreakout2-data so that /usr/share/doc/lbreakout2-data is a copy of /usr/share/doc/lbreakout2 instead of a symlink. Cheers, -- Bill. <ballo...@debian.org> Imagine a large red swirl here. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org