ports and /var/db/pkg

Peter Pentchev roam at ringlet.net
Thu Apr 3 04:07:27 PST 2003


On Thu, Apr 03, 2003 at 02:06:39PM +0300, Danny Braniss wrote:
> 
> > Correct.
> > 
> 
> ok, so i wrote a small script (tcl, since i don't know perl), that
> does some checking, it reports for each package, the number of files
> how many are realy there, and if so, checks the MD5.

Errr.. you mean, it does something like 'pkg_info -g'? :)

> now, if im not to far off, if some/all files are missing, or if the
> md5 does not match, i should be able to remove the package info, ...
> Q:
> 	true
> or
> 	false?

What do you mean, 'remove the package info'?  What exactly are you
trying to achieve?

G'luck,
Peter

-- 
Peter Pentchev	roam at ringlet.net    roam at sbnd.net    roam at FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
Thit sentence is not self-referential because "thit" is not a word.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20030403/d7b29eb5/attachment.bin


More information about the freebsd-hackers mailing list