Subject: Re: listing change of installed packages
To: Tracy Di Marco White <gendalia@iastate.edu>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 04/25/2001 18:42:11
[ On Wednesday, April 25, 2001 at 15:12:12 (CDT), Tracy Di Marco White wrote: ]
> Subject: listing change of installed packages
>
> Something I've been wanting for a while was something running from (for
> example) the daily script that would compare the installed packages
> (as listed in /var/db/pkg) to the installed packages from the previous
> day.

Do you mean like this nifty little change I made to my /etc/daily?

+ 
+ # this must be done before running /etc/security if you want
+ # /etc/changelist handling to track changes in packages....
+ #
+ if checkyesno run_pkg_info; then
+ 	pkg_info | sort > /etc/packages
+ fi
  
  if checkyesno run_security; then


-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>     <woods@robohack.ca>
Planix, Inc. <woods@planix.com>;   Secrets of the Weird <woods@weird.com>