1
0
Dr. Werner Fink 2013-08-05 12:20:11 +00:00 committed by Git OBS Bridge
parent b5addeeda3
commit 782fada4c9
2 changed files with 7 additions and 12 deletions

View File

@ -1,12 +0,0 @@
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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Aug 5 10:24:25 UTC 2013 - werner@suse.de
- Make sure that TEXMFMAIN is /usr/share/texmf now
- Replace texmf.cnf if really required that is do not install
as .rpmnew but move the old to .rpmold
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 2 08:45:18 UTC 2013 - werner@suse.de Fri Aug 2 08:45:18 UTC 2013 - werner@suse.de