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:
parent
929036caa5
commit
463a521804
@ -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
|
Fri May 2 08:40:22 UTC 2014 - werner@suse.de
|
||||||
|
|
||||||
|
@ -2856,6 +2856,7 @@ fi
|
|||||||
%post
|
%post
|
||||||
mkdir -p /var/run/texlive
|
mkdir -p /var/run/texlive
|
||||||
> /var/run/texlive/run-mktexlsr
|
> /var/run/texlive/run-mktexlsr
|
||||||
|
> /var/run/texlive/run-update
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if test $1 = 1; then
|
if test $1 = 1; then
|
||||||
@ -2864,8 +2865,10 @@ if test $1 = 1; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
|
test -f /var/run/texlive/run-update || exit 0
|
||||||
test -z "$ZYPP_IS_RUNNING" || exit 0
|
test -z "$ZYPP_IS_RUNNING" || exit 0
|
||||||
VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
||||||
|
rm -f /var/run/texlive/run-update
|
||||||
|
|
||||||
%post -n libkpathsea6 -p /sbin/ldconfig
|
%post -n libkpathsea6 -p /sbin/ldconfig
|
||||||
%postun -n libkpathsea6 -p /sbin/ldconfig
|
%postun -n libkpathsea6 -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user