On Die, 23 Aug 2005, Frank Küster wrote: > We should probably rename fmtutil.cnf and updmap.cfg, too, if they are
This is ok for you: And if yes, what is your timeline for uploading a new version to unstable (new version of tex-common)? I want to time this with the new version of the texlive packages depending on tex-common >= 0.7 Index: debian/postinst.in =================================================================== --- debian/postinst.in (Revision 160) +++ debian/postinst.in (Arbeitskopie) @@ -74,6 +74,30 @@ fi fi +# +# remove left over fmt/efmt/log files in /usr/share/texmf/web2c/ +# move out of the way old config files +# + if [ -d /usr/share/texmf/web2c ] ; then + rm -rf /usr/share/texmf/web2c/*.fmt + rm -rf /usr/share/texmf/web2c/*.efmt + rm -rf /usr/share/texmf/web2c/*.base + rm -rf /usr/share/texmf/web2c/*.log + for cfgfile in fmtutil.cnf updmap.cfg ; do + $oldname = /usr/share/texmf/web2c/$cfgfile + $newname = /usr/share/texmf/web2c/$cfgfile.pre-upgrade + if [ -r $oldname ] ; then + cat - > $newname <<EOF +# This file conflicts with the new configuration location. +# Please merge your changes to the correct location. + +EOF + cat $oldname >> $newname + rm $oldname + fi + done + fi + # run our scripts - this way we ensure that the generated files are # corrected, should one of the scripts have produced buggy output in # a prior version Best wishes Norbert ------------------------------------------------------------------------------- Dr. Norbert Preining <preining AT logic DOT at> Università di Siena sip:[EMAIL PROTECTED] +43 (0) 59966-690018 gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------------- The Web site you seek Cannot be located, but Countless more exist. --- Windows Error Haiku -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]