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

Bug#663092: tex-common: Not modified files reported as modified



On Fr, 09 Mär 2012, Norbert Preining wrote:
>     for i in $UCF_FILES ; do
>       rm -f $i
>       ucf --purge $i
>       if test -x "`which ucfr`" ; then
>         ucfr --purge tex-common $i
>       fi
>     done

Well (with small bugs) that does it, but it is brutal, since it removes
even if something has changed.

I have now added some (UNTESTED) code that:
- checks for md5sum changes and removes only if unchanged, otherwise
  simply renames it
- 00updmpa.cfg settings that are different form TL2012 defaults are
  carried over to /etc/texmf/web2c/updmap.cfg

For the second we need one change in texlive-base that it ships also
/u/s/texlive/texmf/web2c/updmap.cfg with the default settings.
THat will bei n final TL, but is not by now. 

If someone can take a look at the code in postinst that would be great.

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
BOOK	There is a theory which states that if ever anyone discovers
	exactly what the Universe is for and why it is here, it will
	instantly disappear and be replaced by something even more
	bizarrely inexeplicable.
	There is another theory which states that this has already happened.
                 --- Introduction to Fit the Seventh.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy



Reply to: