[arch-commits] Commit in texlive-core/trunk (texlive.install)

Rémy Oudompheng remy at archlinux.org
Tue Aug 16 05:44:41 UTC 2016


    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



More information about the arch-commits mailing list