redirect triggers output to /dev/null

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-13 18:56:14 +01:00
parent 59e8323daa
commit 73db40eee1
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -99,10 +99,10 @@ export ALL_TESTS=yes
%transfiletriggerin -n info -- %{_infodir} %transfiletriggerin -n info -- %{_infodir}
[ -f %{_infodir}/dir ] && create_arg="" || create_arg="--create" [ -f %{_infodir}/dir ] && create_arg="" || create_arg="--create"
%{_sbindir}/fix-info-dir $create_arg %{_infodir}/dir %{_sbindir}/fix-info-dir $create_arg %{_infodir}/dir &>/dev/null
%transfiletriggerpostun -n info -- %{_infodir} %transfiletriggerpostun -n info -- %{_infodir}
[ -f %{_infodir}/dir ] && %{_sbindir}/fix-info-dir --delete %{_infodir}/dir || : [ -f %{_infodir}/dir ] && %{_sbindir}/fix-info-dir --delete %{_infodir}/dir &>/dev/null
%files -f %{name}.lang -f %{name}_document.lang %files -f %{name}.lang -f %{name}_document.lang
%doc AUTHORS ChangeLog NEWS README TODO %doc AUTHORS ChangeLog NEWS README TODO