Frank Küster <[EMAIL PROTECTED]> wrote: > As for the error message, we cannot add a check in lmodern's postinst > explicitly.
You mean, because the code is generated by dh_installtex? It's still possible to add a grep call *before* the debhelper-generated stuff that checks whether there's a non-commented-out lm.map in /etc/texmf/updmap.d/... Now, it would be a specific hack for lmodern and anyway only a band-aid to help in case of a user error... > But we could do the following in tex-common: [...] > + echo "Sometimes, not accepting conffile updates in /etc/texmf/updmap.d" > + echo "causes updmap-sys to fail. Please check for files with extension" > + echo ".dpkg-new or .ucf-new in this directory" There is also .dpkg-dist (the one used by dpkg for conffiles, IIRC, whereas those you cited are generated by ucf). > (shouldn't all those error messages go to &2? Or all messages - how OK for stderr, IMHO. > about debconf being active at this time?) I didn't look at tex-common's postinst to see if debconf can be running at this time, but moving from stdout to stderr can only be safer as far as debconf is concerned, no? -- Florent