diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-02-16 20:42:15 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-02-16 20:42:15 (GMT) |
commit | 695cb7ebbb20361cba818eed4e0841c0e0ef5e63 (patch) | |
tree | 70b058efade5a48486e908fdcd8c8d0e06ac063b /abs/extra/texlive-core/texlive-fmtutil.script | |
parent | 57eec8e687f55d08cfdfbbf3cf52d546a7a007db (diff) | |
download | linhes_pkgbuild-695cb7ebbb20361cba818eed4e0841c0e0ef5e63.zip linhes_pkgbuild-695cb7ebbb20361cba818eed4e0841c0e0ef5e63.tar.gz linhes_pkgbuild-695cb7ebbb20361cba818eed4e0841c0e0ef5e63.tar.bz2 |
texlive-core: initial incluson. dep of doxygen
Diffstat (limited to 'abs/extra/texlive-core/texlive-fmtutil.script')
-rw-r--r-- | abs/extra/texlive-core/texlive-fmtutil.script | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/abs/extra/texlive-core/texlive-fmtutil.script b/abs/extra/texlive-core/texlive-fmtutil.script new file mode 100644 index 0000000..0e3b943 --- /dev/null +++ b/abs/extra/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 + |