Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] dispel of optional dependencies

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] dispel of optional dependencies
  • Date: Wed, 18 Apr 2007 08:30:46 -0700

On Wednesday 18 April 2007 05:09:06 Treeve Jelbert wrote:
> if spell A has a optional dependency on B, and a TRIGGER
> 'on_dispel B check_self'
>
> the dispel of B then finds problems with A, and tries to recast both B and
> A.
>
> Is there anyway to remove or change the optional dependency so that
> cast_self does not try to recast B?

cast_self should recast A without B enabled. check_self will see that A was
last built with B enabled and that B is no longer available and will try to
fix it.

I believe using --user-deps when dispelling packages like this will fix this
problem, or change the check_self to a cast_self, but that just works around
the problem.

-sandalle

--
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | http://counter.li.org/ #196285

Attachment: pgpJo0WKO5gBt.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page