Norbert Preining <[EMAIL PROTECTED]> wrote: > Hi Frank! > > On Don, 24 Aug 2006, Frank Küster wrote: >> - Since the ini files in /etc/texmf/jadetex are not really configuration >> files (instead, new formats should be created), they shouldn't be in >> /etc, and be moved to /usr/share/texmf/tex/jadetex/config/ directly > > I was thinking about implementing this, but there is a slight problem: > > /usr/share/texmf/tex/jadetex/config is a symlink to /etc/texmf/jadetex. > > So the right solution would be (this is a question!): > > - preinst: if /usr/share/texmf/tex/jadetex/config is a link to > /etc/texmf/jadetex, remove the link. > - postinst: if the /etc/texmf/jadetex/*.ini files are the same as the > newly installed ones under /u/s/..., remove the files and optionally > (if empty) also /etc/texmf/jadetex, otherwise leave the files there > and create a big fat warning?
tetex-base in sarge has a "reference implementatin" for such a thing, taken from some Xfree package and originaly developped by Branden Robinson. Regards, Frank -- Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX/TeXLive)