From 29279d4a5be49a2c7ef37f8c2c592427f6a637ae Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 30 Oct 2012 11:20:39 +0900 Subject: [PATCH] silence output from gen_contents_index --- ghc-rpm-macros.ghc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc-rpm-macros.ghc b/ghc-rpm-macros.ghc index aedf13c..f9edaa1 100644 --- a/ghc-rpm-macros.ghc +++ b/ghc-rpm-macros.ghc @@ -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