[arch-commits] Commit in texlive-core/trunk (PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Mon Sep 13 06:07:31 UTC 2010
Date: Monday, September 13, 2010 @ 02:07:30
Author: remy
Revision: 90535
Update for python2 (dviasm).
Modified:
texlive-core/trunk/PKGBUILD
----------+
PKGBUILD | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-09-13 03:23:10 UTC (rev 90534)
+++ PKGBUILD 2010-09-13 06:07:30 UTC (rev 90535)
@@ -11,7 +11,7 @@
'perl: for many useful tools'
'ruby: for old ConTeXT MkII and epspdf'
'tk: for texdoctk'
- 'python: for dviasm'
+ 'python2: for dviasm'
'ghostscript: for epstopdf, epspdf and other ConTeXt tools'
'psutils: to manipulate the output of dvips'
't1utils: can be useful when installing Type1 fonts'
@@ -53,6 +53,8 @@
if [[ -d $pkgdir/usr/share/texmf-dist/scripts ]]; then
find $pkgdir/usr/share/texmf-dist/scripts -type f -exec chmod a+x '{}' \;
fi
+ # use python2 for dviasm
+ sed -i 's/env python/env python2/' $pkgdir/usr/share/texmf-dist/scripts/dviasm/dviasm.py
# copy config file to texmf-config
mkdir -p $pkgdir/etc/texmf/tex/context/config
More information about the arch-commits
mailing list