- 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:
parent
bfc2c80d6f
commit
9ad13026de
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user