SHA256
3
0
forked from pool/dpkg

Accepting request 515344 from system:packagemanager

- Silence the update-alternatives regen output wrt bsc#1050848
  it causes more confusion than benefits

OBS-URL: https://build.opensuse.org/request/show/515344
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dpkg?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2017-08-14 10:34:20 +00:00 committed by Git OBS Bridge
commit 561c74f5d7
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