On 16/03/2021 16.05, Andrius Merkys wrote:
symlink_to_dir /usr/share/doc/nauty libnauty2 2.7r1+ds-1~
That looks correct.
From this I gather that upgrades of nauty <= 2.7r1+ds-1 to this new version should trigger the replacement of a symlink with real directory before placing the files inside. Or am I wrong?
In buster we have /usr/share/doc/nauty -> libnauty2 but in jessie we had /usr/share/doc/nauty -> /usr/share/doc/libnauty2 and that is not caught by the maintscript entry. The following should catch both cases: symlink_to_dir /usr/share/doc/nauty /usr/share/doc/libnauty2 2.7r1+ds-2~ I'll try to test that ... Andreas