Module submission - libmusicbrainz

Davide "M3xican" Coppola dmc at dev-labs.net
Sun Apr 16 18:24:33 UTC 2006


Davide "M3xican" Coppola wrote:
> Yes, I have used the optional_depends function, but it's not what I meant.
> I mean something like:
>
> if(IsInstalled(packageA))
> do this...
> else
> ....
>
> we could use a feature like this to have a code like:
>
> if(IsInstalled(python))
>     "ctypes is a dependence"
> else
>     "suggest ctypes as optiona dependence"
>
> And optional_depends doesn't seem to offer this stuff, isn't it?
>   

Thanks to ElAngelo suggestion, the problem should be solved, look
at the attached DEPENDS.

I have tested this new DEPENDS on my system and everything works
fine.

-- 

Davide "M3xican" Coppola

--------------------------------------------------------------------
email:  dmc at dev-labs.net
homep:  http://dmc.dev-labs.net
ICQ:    104241710
MSN:	bad_hangover at hotmail.it

Don't use IE and OE! 
Download FireFox and ThunderBird: http://www.mozilla.org/
--------------------------------------------------------------------

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: DEPENDS
Url: http://foo-projects.org/pipermail/lunar/attachments/20060416/86bbfedd/DEPENDS.ksh


More information about the Lunar mailing list