sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Andrew <afrayedknot AT thefrayedknot.armory.com>
- To: sm-discuss <sm-discuss AT lists.ibiblio.org>
- Subject: Re: [SM-Discuss] name clash, perl/tcl
- Date: Sun, 14 Nov 2004 11:06:48 -0800
On Sun, Nov 14, 2004 at 03:18:17AM -0500, Paul Mahon wrote:
> Here's a one liner for you that'll list all non-directories which are in
> more than one installed spell's install log:
>
> while read -a LINE ; do
> cat /var/log/sorcery/install/${LINE[0]}-${LINE[1]} ; done < <(gaze
> installed | awk -F: '{print $1" "$4;}') | sort | uniq -d | while read
> LINE ; do [ -d $LINE ] || echo $LINE ; done
>
> If you want to know how many spells share the same file, you can add the
> -c argument to the uniq command.
>
> The plan is to have cleanse remove the file from the spell if a conflict
> is found (after confirming with the SA first of course). Although we're
> not exactly sure if this is a good idea, since the spell did indeed
> install the file... Anyways, no has gotten around to doing it yet.
Actually cleanse does remove the file from a spell that has the incorrect
md5sum if some other (installed) spell has the right md5sum. In my perfect
world spells wouldn't trample on each other and cleanse wouldnt have to
do that to keep from repeatedly fixing and then breaking spells.
-Andrew
Attachment:
pgpaoGaOWmH2W.pgp
Description: PGP signature
-
[SM-Discuss] name clash, perl/tcl,
Mads Laursen, 11/13/2004
-
Re: [SM-Discuss] name clash, perl/tcl,
Andrew, 11/13/2004
-
Re: [SM-Discuss] name clash, perl/tcl,
Robin Cook, 11/13/2004
-
Re: [SM-Discuss] name clash, perl/tcl,
Paul Mahon, 11/14/2004
- Re: [SM-Discuss] name clash, perl/tcl, Andrew, 11/14/2004
-
Re: [SM-Discuss] name clash, perl/tcl,
Andrew, 11/15/2004
- Re: [SM-Discuss] name clash, perl/tcl, Andrew, 11/15/2004
-
Re: [SM-Discuss] name clash, perl/tcl,
Paul Mahon, 11/14/2004
-
Re: [SM-Discuss] name clash, perl/tcl,
Robin Cook, 11/13/2004
-
Re: [SM-Discuss] name clash, perl/tcl,
Andrew, 11/13/2004
Archive powered by MHonArc 2.6.24.