don't recreate cache from scratch
30 seconds → 2 seconds. Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
dde642cbcb
commit
f19a29e555
@ -98,7 +98,8 @@ export ALL_TESTS=yes
|
||||
%{_bindir}/texconfig-sys rehash 2> /dev/null || :
|
||||
|
||||
%transfiletriggerin -n info -- %{_infodir}
|
||||
%{_sbindir}/fix-info-dir --create %{_infodir}/dir
|
||||
[ -f %{_infodir}/dir ] && create_arg="" || create_arg="--create"
|
||||
%{_sbindir}/fix-info-dir $create_arg %{_infodir}/dir
|
||||
|
||||
%transfiletriggerpostun -n info -- %{_infodir}
|
||||
[ -f %{_infodir}/dir ] && %{_sbindir}/fix-info-dir --delete %{_infodir}/dir || :
|
||||
|
Loading…
Reference in New Issue
Block a user