- 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
This commit is contained in:
Tomáš Chvátal 2017-08-09 10:42:13 +00:00 committed by Git OBS Bridge
parent fe4dc5fb31
commit 9afa8d40f0
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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