!8 [sync] PR-7: 修复fmtutl.cnf文件找不到的问题
From: @openeuler-sync-bot Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
63e57cacfd
@ -4,7 +4,7 @@
|
||||
|
||||
Name: texlive-split-w
|
||||
Version: %{tl_version}
|
||||
Release: 1
|
||||
Release: 2
|
||||
Epoch: 9
|
||||
Summary: TeX formatting system
|
||||
License: Artistic 2.0 and GPLv2 and GPLv2+ and LGPLv2+ and LPPL-1.3a and LPPL-1.3c and MIT and Public Domain and UCD and Utopia
|
||||
@ -905,17 +905,17 @@ support.
|
||||
|
||||
%post -n texlive-t2
|
||||
if [ $1 -gt 0 ] ; then
|
||||
sed -i 's/^\#\!\ cyramstex.*$/cyramstex pdftex language.dat -translate-file=cp227.tcx *cyramstx.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||
sed -i 's/^\#\!\ cyrtex.*$/cyrtex pdftex language.dat -translate-file=cp227.tcx *cyrtex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||
sed -i 's/^\#\!\ cyrtexinfo.*$/cyrtexinfo pdftex language.dat -translate-file=cp227.tcx *cyrtxinf.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||
sed -i 's/^\#\!\ cyramstex.*$/cyramstex pdftex language.dat -translate-file=cp227.tcx *cyramstx.ini/' /etc/texlive/web2c/fmtutil.cnf
|
||||
sed -i 's/^\#\!\ cyrtex.*$/cyrtex pdftex language.dat -translate-file=cp227.tcx *cyrtex.ini/' /etc/texlive/web2c/fmtutil.cnf
|
||||
sed -i 's/^\#\!\ cyrtexinfo.*$/cyrtexinfo pdftex language.dat -translate-file=cp227.tcx *cyrtxinf.ini/' /etc/texlive/web2c/fmtutil.cnf
|
||||
fi
|
||||
:
|
||||
|
||||
%postun -n texlive-t2
|
||||
if [ $1 == 0 ] ; then
|
||||
sed -i 's/^cyramstex.*$/\#\!\ cyramstex pdftex language.dat -translate-file=cp227.tcx *cyramstx.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf > /dev/null 2>&1
|
||||
sed -i 's/^cyrtex.*$/\#\!\ cyrtex pdftex language.dat -translate-file=cp227.tcx *cyrtex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf > /dev/null 2>&1
|
||||
sed -i 's/^cyrtexinfo.*$/\#\!\ cyrtexinfo pdftex language.dat -translate-file=cp227.tcx *cyrtxinf.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf > /dev/null 2>&1
|
||||
sed -i 's/^cyramstex.*$/\#\!\ cyramstex pdftex language.dat -translate-file=cp227.tcx *cyramstx.ini/' /etc/texlive/web2c/fmtutil.cnf > /dev/null 2>&1
|
||||
sed -i 's/^cyrtex.*$/\#\!\ cyrtex pdftex language.dat -translate-file=cp227.tcx *cyrtex.ini/' /etc/texlive/web2c/fmtutil.cnf > /dev/null 2>&1
|
||||
sed -i 's/^cyrtexinfo.*$/\#\!\ cyrtexinfo pdftex language.dat -translate-file=cp227.tcx *cyrtxinf.ini/' /etc/texlive/web2c/fmtutil.cnf > /dev/null 2>&1
|
||||
fi
|
||||
:
|
||||
|
||||
@ -3756,6 +3756,9 @@ rm -rf %{buildroot}%{_texdir}/texmf-dist/doc/texlive/texlive-common/tlshell-maco
|
||||
%doc %{_texdir}/texmf-dist/doc/latex/textualicomma/
|
||||
|
||||
%changelog
|
||||
* Tue Feb 28 2023 xu_ping <xuping33@huawei.com> - 9:2021-2
|
||||
- Fix fmtutil.cnf not found for 2021 version
|
||||
|
||||
* Wed Oct 26 2022 misaka00251 <liuxin@iscas.ac.cn> - 9:2021-1
|
||||
- Upgrade texlive version to 2021
|
||||
- The following packages no longer exist: texlive-docindex, tabulars-e-doc
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user