Steve Langasek <[EMAIL PROTECTED]> wrote: > Hi Frank, > > I notice in your patch for this bug you left the following section of the > postinst intact: > > if [ ! -f /etc/texmf/jadetex/$fmt.ini ]; then > warn "/etc/texmf/jadetex/$fmt.ini not found, skipping $fmt memory > dump" > warn "If you wish to use JadeTeX, you will have to create the dump > manually" > warn "or else purge then reinstall this package to restore default > configuration." > return 0 > elif [ ! -f ${FMTCNF} ]; then > warn "$FMTCNF is missing but should be there; report this bug please" > return 1 > [...] > fi > > This means that if /etc/texmf/fmt.d/40jadetex.cnf has been removed, which is > a valid state for a conffile to be in, upgrades of the package will fail. > Is this the desired behavior?
No, it isn't - I missed that. > If not, should this "elif" also be removed > from the script, or should 40jadetex.cnf be restored IFF it's missing (in > which case, it should not be a conffile)? I think it should be an ordinary conffile. The update-fmtutil mechanism that uses the files in /etc/texmf/fmt.d/NN<package>.cnf was exactly developed to allow files to be treated as conffiles. So the elif part should be removed, too. Regards, Frank -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer