1 Star 0 Fork 33

Captain.Wei/texlive-base

forked from src-openEuler/texlive-base 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
generate-fmtutilcnf 549 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
# Regenerate the fmtutil.cnf file from the pieces which are currently present
# in the fmtutil.cnf.d directory.
# Abort immediately if any command fails
set -o errexit
shopt -s nullglob
texdir=$1
[[ -z $texdir ]] && texdir=/usr/share/texlive
web2cdir=$texdir/texmf-dist/web2c
rm -f $web2cdir/fmtutil.cnf.rpmtmp
echo "# Generated by $0 on $(date)" > $web2cdir/fmtutil.cnf.rpmtmp
cat $web2cdir/fmtutil-hdr.cnf \
$texdir/fmtutil.cnf.d/* \
>> $web2cdir/fmtutil.cnf.rpmtmp
mv $web2cdir/fmtutil.cnf.rpmtmp $web2cdir/fmtutil.cnf
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/CaptainWei/texlive-base.git
git@gitee.com:CaptainWei/texlive-base.git
CaptainWei
texlive-base
texlive-base
master

搜索帮助