Andreas Beckmann <a...@debian.org> writes: > You most likely want to drop the .preinst and create > emacs-nox.maintscript instead with this content (one line): > > <<<<< 8< debian/emacs-nox.maintscript >>>>> > dir_to_symlink /usr/share/doc/emacs-nox emacs-common 1:25.2+1-12~ > <<<<< >8 >>>>> > > and do the same for -gtk and -lucid with adjusted paths.
Hmm, so we actually had that, and then intentionally switched to a manual approach here: https://salsa.debian.org/rlb/deb-emacs/commit/c60e9080df0d924d6a45e77725c11959926f24a7 commit c60e9080df0d924d6a45e77725c11959926f24a7 Author: Rob Browning <r...@defaultvalue.org> Date: Sun Aug 12 11:52:59 2018 -0500 Handle the emacs-{gtk,lucid,nox} doc dir transition manually Before the unversioning, these packages were in a different source package (emacs-defaults) and were arch all. Since dpkg-mainscript-helper can't hande "all to any" transitions (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813455), clean up manually in the preinsts. Thanks to Sven Joachim for reporting the problem and indentifying the underlying cause. Closes: 905555 Assuming I understand the situation correctly, it doesn't look like the original issue has been resolved -- if not, then perhaps we need to improve the manual handling instead? Thanks for the help -- Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4