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

Bug#251358: Something broken in tetex-bin



Hilmar Preusse <hille42@web.de> wrote:

> On 28.05.04 Frank Küster (frank@debian.org) wrote:
>> 
>> This is strange, because if you really _purged_ tetex-bin,
>> /etc/texmf/texmf.d/05TeXMF.cnf should be reinstalled. Furthermore,
>> there shouldn't be a "texmf.cnf" file "under the usual
>> /usr/share/texmf", only in /usr/share/tetex-bin/.
>> 
> I've just rebuilt my tetex-bin.
>
> drachi:[tetex] >dpkg-deb -c tetex-bin_2.0.2-14_i386.deb |grep etc/texmf
> drwxr-xr-x root/root         0 2004-05-28 15:03:02 ./etc/texmf/
> drwxr-xr-x root/root         0 2004-05-28 15:03:18 ./etc/texmf/fmt.d/
> -rw-r--r-- root/root      3587 2004-05-28 15:03:18 ./etc/texmf/fmt.d/00tetex.cnf
> drwxr-xr-x root/root         0 2004-05-28 15:03:02 ./etc/texmf/texmf.d/
> lrwxrwxrwx root/root         0 2004-05-28 15:03:18 ./var/lib/texmf/web2c/texmf.cnf -> /etc/texmf/texmf.cnf
> drachi:[tetex] >
>
> The related parts from debian/rules:
>
> #       update-texmf stuffs #########
>         mv -f $(debvar)/web2c/texmf.cnf $(sharedir)/tetex-bin
>         # these files are handled by ucf
>         cp texmf.d/*.cnf $(sharedir)/$(package)
>         cp -a debian/md5sums/*md5sum* $(sharedir)/$(package)
>         install -m 755 debian/update-texmf debian/$(package)/usr/sbin
>         (cd $(debvar)/web2c/; ln -s $(etcdir)/texmf.cnf .)
>         cp debian/update-texmf.8 $(sharedir)/man/man8/
>
> AFAICS nothing is installed to /etc/texmf/texmf.d . Is that intended?

Yes, because the files are under ucf control. They are copied from
/usr/share/tetex-bin/ to /etc/texmf/texmf.d/ in postinst, by the ucf
program, which takes care of user modifcations. 

In a previous version of tetex-bin, the purge was forgotten, and
therefore the file wasn't reinstalled. But that has been fixed (and
testing now also has 2.0.2-14).

Regards, 
-- 
Frank Küster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie




Reply to: