[OT] Fun with walking package licenses

Andy Green andy at warmcat.com
Tue Feb 21 15:00:30 UTC 2006


Mike McCarty wrote:
> Andy Green wrote:
> 
> This is cute. However...

> You have a defect hiding in there. When I run it on a little
> program or two I wrote in C, I get this output...
> 
> $ lider bin/keys
> package no is not installed
> package package is not installed
> package provides is not installed
> package bin/keys is not installed

It's just some noise from not detecting that it was unpackaged properly,
the results should be correct regardless.  To fix change

>>  if [ ! -z "$pkg" ] ; then

to

 if [ -z "`echo $pkg | grep not\ owned`" ] ; then

-Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4492 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060221/9fa4bb68/attachment-0001.bin>


More information about the fedora-list mailing list