SHA256
1
0
forked from pool/ruby

- use --force for update-alternatives

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=59
This commit is contained in:
Stephan Kulow 2013-06-04 17:05:13 +00:00 committed by Git OBS Bridge
parent bfc2c80d6f
commit 9ad13026de
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 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 %post
for bin in erb gem irb rake rdoc ri ruby testrb; do 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 %{_bindir}/$bin $bin %{_bindir}/$bin"2.0" 20
done done