silence output from gen_contents_index

This commit is contained in:
Jens Petersen 2012-10-30 11:20:39 +09:00
parent ea552a4daf
commit 29279d4a5b

View File

@ -230,13 +230,13 @@ if [ $1 -gt 1 ] ; then\
fi\
else\
cd %{ghcdocbasedir}/libraries\
./gen_contents_index\
./gen_contents_index >/dev/null\
fi\
\
%posttrans -n %{basepkg}-devel\
if [ -f %{_localstatedir}/lib/rpm-state/ghc/haddock-reindex ]; then\
cd %{ghcdocbasedir}/libraries\
./gen_contents_index\
./gen_contents_index >/dev/null\
rm %{_localstatedir}/lib/rpm-state/ghc/haddock-reindex\
fi