1 |
On Friday 30 January 2004 11:11 pm, Paulo Jorge de Oliveira Cantante de Matos |
2 |
wrote: |
3 |
> Hi all, |
4 |
> |
5 |
> How should one enter some input to an installation process through an |
6 |
> ebuild? For example, at some point the bash script for program |
7 |
> installation needs to receive a number from 1 to 4, how can we enter one |
8 |
> of those through an ebuild? |
9 |
|
10 |
You should always try to avoid writing ebuilds that need input from the user. |
11 |
Add a local USE flag to the ebuild, so that the user can make his choice |
12 |
*before* the ebuild runs. |
13 |
|
14 |
Best regards, |
15 |
Stu |
16 |
-- |
17 |
Stuart Herbert stuart@g.o |
18 |
Gentoo Developer http://www.gentoo.org/ |
19 |
Beta packages for download http://dev.gentoo.org/~stuart/packages/ |
20 |
Come and meet me in March 2004 http://www.phparch.com/cruise/ |
21 |
|
22 |
GnuGP key id# F9AFC57C available from http://pgp.mit.edu |
23 |
Key fingerprint = 31FB 50D4 1F88 E227 F319 C549 0C2F 80BA F9AF C57C |
24 |
-- |