1 |
On Wednesday 18 January 2012 06:45:59 Ulrich Mueller wrote: |
2 |
> >>>>> On Wed, 18 Jan 2012, Mike Frysinger wrote: |
3 |
> > ebuild: |
4 |
> > CDROM_OPTIONAL="yes" |
5 |
> > inherit cdrom |
6 |
> > |
7 |
> > eclass: |
8 |
> > if [[ ${CDROM_OPTIONAL} == "yes" ]] ; then |
9 |
> > PROPERTIES="cdinstall? ( interactive )" |
10 |
> > else |
11 |
> > PROPERTIES="interactive" |
12 |
> > fi |
13 |
> > IUSE="cdinstall" |
14 |
> |
15 |
> Looks good, except that I would move the IUSE line into the "then" |
16 |
> clause. |
17 |
|
18 |
err, yeah. i'll commit this proposal so you don't have to be on the hook for |
19 |
the breakage ;). |
20 |
-mike |