.
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-specs-a?expand=0&rev=34
This commit is contained in:
parent
084ca36142
commit
8ec6b234d7
@ -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
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user