From 9afa8d40f0f9ad8f9e8617e46f936f0ece0d1567f929eb603a57e9b2391724e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 9 Aug 2017 10:42:13 +0000 Subject: [PATCH] - Silence the update-alternatives regen output wrt bsc#1050848 it causes more confusion than benefits OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=46 --- update-alternatives.changes | 6 ++++++ update-alternatives.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/update-alternatives.changes b/update-alternatives.changes index 816f189..beeb4e1 100644 --- a/update-alternatives.changes +++ b/update-alternatives.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Aug 9 10:43:10 UTC 2017 - tchvatal@suse.com + +- Silence the update-alternatives regen output wrt bsc#1050848 + it causes more confusion than benefits + ------------------------------------------------------------------- Mon Mar 27 12:38:32 UTC 2017 - tchvatal@suse.com diff --git a/update-alternatives.spec b/update-alternatives.spec index 6b023d1..0ac2cd3 100644 --- a/update-alternatives.spec +++ b/update-alternatives.spec @@ -82,8 +82,8 @@ touch %{_localstatedir}/log/alternatives.log # Fix broken alternatives list bnc#969171 cd %{_sysconfdir}/alternatives/ for i in $(ls .) ; do - # continue on errors but still print them out - update-alternatives --auto $i || : + # continue on errors + update-alternatives --auto $i 2>/dev/null || : done %files