1 |
On 1 Oct 2009, at 23:53, Neil Bothwick wrote: |
2 |
|
3 |
> On Thu, 01 Oct 2009 23:12:36 +0300, Arthur D. wrote: |
4 |
> |
5 |
>> I think it's most reasonably to omit that hardcoding line from |
6 |
>> ebuild. |
7 |
> |
8 |
> I think you need to re-read the ebuild. sudo depends on virtual/ |
9 |
> editor, |
10 |
> not nano. Nowhere is nano hardcoded to be a requirement of sudo. On |
11 |
> the |
12 |
> other hand, if you went with the upstream settings, you'd need to |
13 |
> add vim |
14 |
> as a dependency, even for those that don't wish to use it. Forcing |
15 |
> such |
16 |
> things on the user is most definitely not the Gentoo Way. |
17 |
|
18 |
You appear to be demonstrating that you don't fully understand the |
19 |
problem: |
20 |
|
21 |
828 ~ $ grep nano /usr/portage/app-admin/sudo/sudo-1.7.2_p1.ebuild |
22 |
# XXX: /bin/vi may not be available, make nano visudo's default. |
23 |
--with-editor=/bin/nano \ |
24 |
829 ~ $ |
25 |
|
26 |
Stroller. |