[arch-commits] Commit in texlive-core/trunk (texlive.install)
François Charette
francois at archlinux.org
Tue Jul 27 12:16:10 UTC 2010
Date: Tuesday, July 27, 2010 @ 08:16:09
Author: francois
Revision: 86279
Improve fontmaps handling
Modified:
texlive-core/trunk/texlive.install
-----------------+
texlive.install | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: texlive.install
===================================================================
--- texlive.install 2010-07-27 12:14:49 UTC (rev 86278)
+++ texlive.install 2010-07-27 12:16:09 UTC (rev 86279)
@@ -74,13 +74,14 @@
echo " to /etc/texmf/web2c/ (and keeping new one as updmap.cfg.pacnew)"
mv /etc/texmf/web2c/updmap.cfg /etc/texmf/web2c/updmap.cfg.pacnew
cp /usr/share/texmf-config/web2c/updmap.cfg.pacsave /etc/texmf/web2c/updmap.cfg
- else # $2 >= 2010
+ else
+ # $2 >= 2010
OLDMAPS="/var/lib/texmf/arch/installedpkgs/$PKGNAME.maps"
fi
if [ -f $OLDMAPS ] ; then
MAPSDIFF=`mktemp`
TOADD=`mktemp`
- diff -B $OLDMAPS $NEWMAPS | sed 's/\s\+/ /g' > $MAPSDIFF
+ diff -B -w $OLDMAPS $NEWMAPS | sed 's/\s\+/ /g' > $MAPSDIFF
TOREMOVE=`cat $MAPSDIFF | egrep '^<' | cut -d' ' -f3`
cat $MAPSDIFF | egrep '^>' | sed 's/^> //' > $TOADD
if [ "x$TOREMOVE" != "x" ]; then
More information about the arch-commits
mailing list