[arch-commits] Commit in texlive-core/trunk (texlive.install)
Date: Tuesday, August 16, 2016 @ 05:44:41 Author: remy Revision: 273843 Decrease verbosity of install script. The target is to remove it completely. Modified: texlive-core/trunk/texlive.install -+ texlive.install | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) Modified: texlive.install === --- texlive.install 2016-08-16 03:45:06 UTC (rev 273842) +++ texlive.install 2016-08-16 05:44:41 UTC (rev 273843) @@ -6,10 +6,7 @@ MAPFILE="var/lib/texmf/arch/installedpkgs/$PKGNAME.maps" post_install() { - TMPFILE=`mktemp` - echo">>> texlive: saving updmap.cfg as $TMPFILE..." - cp "$UPDMAP" "$TMPFILE" - echo">>> texlive: regenerating updmap.cfg (custom additions should go" + echo">>> texlive: regenerating updmap.cfg (custom additions should go" echo" into /etc/texmf/web2c/updmap-local.cfg" cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP @@ -20,7 +17,7 @@ # We need to remove directory "." from luatex cache to avoid absurd # behaviour. for item in var/lib/texmf/luatex-cache/context/*/trees/*.lua; do -grep -F '["root"]="."' "$item" >/dev/null && rm -vf "$item" "${item%.lua}.luc" +grep -F '["root"]="."' "$item" >/dev/null && rm -f "$item" "${item%.lua}.luc" done echo">>> texlive: updating the fontmap files with updmap..." usr/bin/updmap-sys --quiet --nohash @@ -34,9 +31,6 @@ } post_upgrade() { - TMPFILE=`mktemp` - echo">>> texlive: saving updmap.cfg as $TMPFILE..." - cp "$UPDMAP" "$TMPFILE" echo">>> texlive: regenerating updmap.cfg (custom additions should go" echo" into /etc/texmf/web2c/updmap-local.cfg" cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP @@ -48,7 +42,7 @@ # We need to remove directory "." from luatex cache to avoid absurd # behaviour. for item in var/lib/texmf/luatex-cache/context/*/trees/*.lua; do -grep -F '["root"]="."' "$item" >/dev/null && rm -vf "$item" "${item%.lua}.luc" +grep -F '["root"]="."' "$item" >/dev/null && rm -f "$item" "${item%.lua}.luc" done echo">>> texlive: updating the fontmap files with updmap..." usr/bin/updmap-sys --quiet --nohash $SYNCWITHTREES
[arch-commits] Commit in texlive-core/trunk (texlive.install)
Date: Friday, November 16, 2012 @ 08:56:05 Author: allan Revision: 171063 fix typo Modified: texlive-core/trunk/texlive.install -+ texlive.install |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: texlive.install === --- texlive.install 2012-11-16 13:51:49 UTC (rev 171062) +++ texlive.install 2012-11-16 13:56:05 UTC (rev 171063) @@ -9,7 +9,7 @@ TMPFILE=`mktemp` echo">>> texlive: saving updmap.cfg as $TMPFILE..." cp "$UPDMAP" "$TMPFILE" - echo">>> texlive: regenerating updmap.cfg (custom additions shoud go" + echo">>> texlive: regenerating updmap.cfg (custom additions should go" echo" into /etc/texmf/web2c/updmap-local.cfg" cp usr/share/texmf/web2c/updmap-hdr.cfg $UPDMAP cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP @@ -31,7 +31,7 @@ TMPFILE=`mktemp` echo">>> texlive: saving updmap.cfg as $TMPFILE..." cp "$UPDMAP" "$TMPFILE" - echo">>> texlive: regenerating updmap.cfg (custom additions shoud go" + echo">>> texlive: regenerating updmap.cfg (custom additions should go" echo" into /etc/texmf/web2c/updmap-local.cfg" cp usr/share/texmf/web2c/updmap-hdr.cfg $UPDMAP cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
[arch-commits] Commit in texlive-core/trunk (texlive.install)
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
[arch-commits] Commit in texlive-core/trunk (texlive.install)
Date: Friday, July 23, 2010 @ 03:21:46 Author: francois Revision: 85971 Add msg about ConTeXt setup Modified: texlive-core/trunk/texlive.install -+ texlive.install |4 1 file changed, 4 insertions(+) Modified: texlive.install === --- texlive.install 2010-07-23 07:06:43 UTC (rev 85970) +++ texlive.install 2010-07-23 07:21:46 UTC (rev 85971) @@ -63,6 +63,8 @@ /usr/bin/fmtutil-sys --all 1>/dev/null echo " done." echo " (logs are under /var/lib/texmf/web2c//.log)" + echo"NB: To setup ConTeXt and the lua(la)tex font db," + echo"see http://wiki.archlinux.org/index.php/TeX_Live"; } pre_upgrade() { @@ -105,6 +107,8 @@ /usr/bin/fmtutil-sys --all 1>/dev/null echo " done." echo " (logs are under /var/lib/texmf/web2c//.log)" + echo"NB: To setup ConTeXt and the lua(la)tex font db," + echo"see http://wiki.archlinux.org/index.php/TeX_Live"; if [[ "$2" == 200* ]]; then echo "Important note. Some directories have moved:" echo " \$TEXMFSYSVARis now /var/lib/texmf (previously /usr/share/texmf-var)"