Author: frank Date: 2006-09-29 18:11:45 +0000 (Fri, 29 Sep 2006) New Revision: 1655
Modified: tetex-bin/trunk/debian/changelog tetex-bin/trunk/debian/postinst.in Log: In postinst, generate language.dat every time before recreating formats. This is needed to prevent failures in format creation when a package with language information is installed or upgraded in the same dpkg run. Thanks to Ralf Stubner for noticing [frank] Modified: tetex-bin/trunk/debian/changelog =================================================================== --- tetex-bin/trunk/debian/changelog 2006-09-29 18:11:27 UTC (rev 1654) +++ tetex-bin/trunk/debian/changelog 2006-09-29 18:11:45 UTC (rev 1655) @@ -1,3 +1,12 @@ +tetex-bin (3.0-19~1) UNRELEASED; urgency=medium + + * In postinst, generate language.dat every time before recreating + formats. This is needed to prevent failures in format creation when a + package with language information is installed or upgraded in the same + dpkg run. Thanks to Ralf Stubner for noticing [frank] + + -- Frank Küster <[EMAIL PROTECTED]> Fri, 29 Sep 2006 20:06:00 +0200 + tetex-bin (3.0-19) unstable; urgency=low * Fix typo in the changelog entry of 3.0-17, s/nonexitant/nonexistent/. [frank] Modified: tetex-bin/trunk/debian/postinst.in =================================================================== --- tetex-bin/trunk/debian/postinst.in 2006-09-29 18:11:27 UTC (rev 1654) +++ tetex-bin/trunk/debian/postinst.in 2006-09-29 18:11:45 UTC (rev 1655) @@ -120,7 +120,8 @@ if [ -L $TEXMFSYSVARDIR/fmtutil.cnf ]; then mv $TEXMFSYSVARDIR/fmtutil.cnf $TEXMFSYSVARDIR/fmtutil.cnf.$MOVE_EXT fi - # now generate the new fmtutil.cnf + + # now generate the new fmtutil.cnf. This is needed also on upgrades from newer versions. update-fmtutil --quiet # now we have to check whether there are user-added lines, create a local # configuration file, and run the update program once more if yes. @@ -131,8 +132,9 @@ fi # upgrade from woody - # updmap.cfg handling + # updmap.cfg handling. This is needed also on upgrades from newer versions. update-updmap --quiet + # if $TEXMFSYSVARDIR/updmap.cfg is a symlink, we have to move it out of the way. if [ -L $TEXMFSYSVARDIR/updmap.cfg ]; then mv $TEXMFSYSVARDIR/updmap.cfg $TEXMFSYSVARDIR/updmap.cfg.$MOVE_EXT @@ -170,6 +172,7 @@ update-alternatives --install /usr/bin/xdvi.bin xdvi.bin /usr/bin/xdvi.real 30 # normal install + update-language # now update the filename database mktexlsr _______________________________________________ Pkg-tetex-commits mailing list Pkg-tetex-commits@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-tetex-commits