[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#418983: dh_installtex: format generation mis-conception



Package: tex-common
Version: 1.5
Severity: normal

Hi all!

Currently dh_installtex creates postinst code to create those formats
which are *by default*, ie as shipped by the developer, activated. But
in case that a sysadm has changed the config file NNfoobar.cnf and does
NOT take over the changes of the package maintainer, still all the
formats as specified in the package maintainers file are regenerated,
not those in the sysadms actual file.

Solution: Move the parsing code into the postinst script, or better,
call
	fmtutil-sys --all --cnffile /etc/texmf/fmt.d/NNfoobar.cnf
This way we could also get rid of a lot of code in dh_installtex!!!

Comments?

Bye Norbert

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-rc6 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]         1.5.13     Debian configuration management sy
ii  ucf                           2.0020     Update Configuration File: preserv

tex-common recommends no packages.

Versions of packages texlive-base depends on:
ii  texlive-base-bin              2007-2     TeX Live: Essential binaries
ii  texlive-common                2007-2     TeX Live: Base component
ii  texlive-doc-base              2007-2     TeX Live: Base documentation

-- debconf information:
  tex-common/singleuser: false
  tex-common/check_texmf_wrong:
  tex-common/check_texmf_missing:



Reply to: