SHA256
1
0
forked from pool/ruby

Accepting request 177548 from devel:languages:ruby

- use --force for update-alternatives

OBS-URL: https://build.opensuse.org/request/show/177548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=44
This commit is contained in:
Stephan Kulow 2013-06-05 11:11:34 +00:00 committed by Git OBS Bridge
commit 7b89ce6378
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 4 17:04:50 UTC 2013 - coolo@suse.com
- use --force for update-alternatives
-------------------------------------------------------------------
Sat Apr 27 16:25:12 UTC 2013 - coolo@suse.com

View File

@ -94,7 +94,7 @@ install -D -m 0644 %{S:2} $RPM_BUILD_ROOT/etc/gemrc
%post
for bin in erb gem irb rake rdoc ri ruby testrb; do
/usr/sbin/update-alternatives --install \
/usr/sbin/update-alternatives --force --install \
%{_bindir}/$bin $bin %{_bindir}/$bin"2.0" 20
done