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