[SM-Discuss] multiple depends in one line
dufflebunk at dufflebunk.homeip.net
Fri Aug 18 02:17:55 EDT 2006
It is not documented to work like that and isn't supposed to. It's more
than likely a bug cause by something not being quoted as it should,
which means that you'll get inconsistent results... ie the depends
information could say it depends on a spell called "glibc gcc" while
cast may turn that into two spells, cleanse may not which would cause
all sorts of weirdness.
On Fri, 2006-18-08 at 08:53 +0300, Juuso Alasuutari wrote:
> Does this really work like it seems it does?
> optional_depends "glibc gcc" "" "" "for great justice"
> root at kamayuq:~# cast foo
> Computing previously installed dependencies...
> foo preparing environment...
> foo checking dependencies...
> foo has an optional dependency on glibc gcc (for great justice)
> Do you want to use glibc gcc? [y] y
> glibc No work to do.
> gcc No work to do.
> Collating dependencies...
> Spells are to be cast:
> Do you want to cast these spells? [y]
> If this is a feature not a bug I'm happy because it's a useful one, and if
> it's a bug please declare it a feature. :)
> How does cleanse handle this if one of the listed dependencies are removed? Is
> this in stable sorcery?
> SM-Discuss mailing list
> SM-Discuss at lists.ibiblio.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20060817/d20fbedb/attachment.bin
More information about the SM-Discuss