diff --git a/texlive.changes b/texlive.changes index cf99dfb..1c7efaf 100644 --- a/texlive.changes +++ b/texlive.changes @@ -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 diff --git a/texlive.spec b/texlive.spec index c2ced31..8c1787f 100644 --- a/texlive.spec +++ b/texlive.spec @@ -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