diff --git a/kpathsea.post b/kpathsea.post new file mode 100644 index 0000000..7b6021c --- /dev/null +++ b/kpathsea.post @@ -0,0 +1,12 @@ +if test -s %{_texmfconfdir}/web2c/fmtutil.cnf.rpmnew ; then + old=$(mktemp ${TMPDIR-${TEMP-${TMP-/tmp}}}/pool-old.XXXXXXXX) || exit -2 + new=$(mktemp ${TMPDIR-${TEMP-${TMP-/tmp}}}/pool-new.XXXXXXXX) || exit -2 + sed -rn '\@^TEXMFMAIN\s*=@p;\@Part 3:@,${\@^[a-z]@p}' < %{_texmfconfdir}/web2c/fmtutil.cnf.rpmnew > $new + sed -rn '\@^TEXMFMAIN\s*=@p;\@Part 3:@,${\@^[a-z]@p}' < %{_texmfconfdir}/web2c/fmtutil.cnf > $old + if ! cmp -s $new $old; then + mv %{_texmfconfdir}/web2c/fmtutil.cnf %{_texmfconfdir}/web2c/fmtutil.cnf.rpmold + mv %{_texmfconfdir}/web2c/fmtutil.cnf.rpmnew %{_texmfconfdir}/web2c/fmtutil.cnf + > /var/run/texlive/run-fmtutil.refresh + fi + rm -f $new $old +fi diff --git a/texlive-specs.tar.xz b/texlive-specs.tar.xz index e6dbea2..ea1a9d4 100644 --- a/texlive-specs.tar.xz +++ b/texlive-specs.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ac8a6b94cd50110c3120aab4ab0024585f021dd8a65b78aed4277a3734f321ab -size 957980 +oid sha256:decab79afb2ba9e71c872897fe64f77d4ec1b2eb3801ea2b59cb536dbc301351 +size 958596