Accepting request 235573 from home:Andreas_Schwab:texlive

- Make sure texconfig/update is run only once per transaction

An empty run of texconfig/update takes at least four seconds even on a fast system

OBS-URL: https://build.opensuse.org/request/show/235573
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=173
This commit is contained in:
Dr. Werner Fink 2014-06-02 14:53:56 +00:00 committed by Git OBS Bridge
parent 929036caa5
commit 463a521804
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 20 09:23:14 UTC 2014 - schwab@suse.de
- Make sure that texconfig/update is run only once per transaction
-------------------------------------------------------------------
Fri May 2 08:40:22 UTC 2014 - werner@suse.de

View File

@ -2856,6 +2856,7 @@ fi
%post
mkdir -p /var/run/texlive
> /var/run/texlive/run-mktexlsr
> /var/run/texlive/run-update
%postun
if test $1 = 1; then
@ -2864,8 +2865,10 @@ if test $1 = 1; then
fi
%posttrans
test -f /var/run/texlive/run-update || exit 0
test -z "$ZYPP_IS_RUNNING" || exit 0
VERBOSE=false %{_texmfdistdir}/texconfig/update || :
rm -f /var/run/texlive/run-update
%post -n libkpathsea6 -p /sbin/ldconfig
%postun -n libkpathsea6 -p /sbin/ldconfig