1 |
On 01/19/2010 10:37 AM, Peter Volkov wrote: |
2 |
> В Втр, 19/01/2010 в 01:22 +0200, Petteri Räty пишет: |
3 |
>> On 01/18/2010 03:02 PM, Tiziano Müller wrote: |
4 |
>>> The proper replacement for such interactive notifications when called in |
5 |
>>> pkg_setup is pkg_pretend, which will (hopefully) be available in EAPI 4. |
6 |
>>> Thus I'd keep them around until then. |
7 |
> |
8 |
>> ebeep or epause don't make your ebuild interactive. |
9 |
> |
10 |
> True, but some ebuilds (e.g. tcpdump) do following: |
11 |
> |
12 |
> ewarn "CAUTION !!! CAUTION !!! CAUTION" |
13 |
> ewarn "..." |
14 |
> ewarn "Press Ctrl+C to abort installation" |
15 |
> ebeep 5 |
16 |
> |
17 |
> And it's better to keep ebeep in such packages until pkg_pretend became |
18 |
> available. |
19 |
> |
20 |
|
21 |
PROPERTIES="interactive" and really ask the user to proceed if it's |
22 |
really that important. |
23 |
|
24 |
Regards, |
25 |
Petteri |