From 212c688afb2d9a9c8ac2348b1b5aa50c6afc33e8 Mon Sep 17 00:00:00 2001 From: Isaac David Date: Sat, 12 Aug 2017 00:31:51 -0500 Subject: texlive-{bin,core,fontsextra,latexextra}: update to 2017.44... versions --- libre/texlive-core/texlive-fmtutil.script | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 libre/texlive-core/texlive-fmtutil.script (limited to 'libre/texlive-core/texlive-fmtutil.script') diff --git a/libre/texlive-core/texlive-fmtutil.script b/libre/texlive-core/texlive-fmtutil.script new file mode 100644 index 000000000..0e3b94393 --- /dev/null +++ b/libre/texlive-core/texlive-fmtutil.script @@ -0,0 +1,19 @@ +#!/bin/bash + +FMTUTIL="etc/texmf/web2c/fmtutil.cnf" +FMTUTILLOCAL="etc/texmf/web2c/fmtutil-local.cnf" + +cp usr/share/texmf-dist/web2c/fmtutil-hdr.cnf $FMTUTIL +for file in var/lib/texmf/arch/installedpkgs/*.fmts; do + echo >> $FMTUTIL + echo "# $file" >> $FMTUTIL + cat $file >> $FMTUTIL +done +if [[ -f "$FMTUTILLOCAL" ]]; then + echo >> $FMTUTIL + echo "# $FMTUTILLOCAL" >> $FMTUTIL + cat "$FMTUTILLOCAL" >> $FMTUTIL +fi + +/usr/bin/fmtutil-sys --all --cnffile $FMTUTIL > /dev/null + -- cgit v1.2.3