2007/11/7, STeve Andre' <[EMAIL PROTECTED]>:
> On Wednesday 07 November 2007 17:51:09 Matthias Kilian wrote:
> > On Wed, Nov 07, 2007 at 05:16:53PM -0500, Josh Grosse wrote:
> > > > i ran pkg_info with all common options but none tell me when
> > > > was the pkg installed!!!
> > >
> > > $ ls -l /var/db/pkg/<your package here>
> >
> > No. Those files and directories are also touched when depending
> > packages are installed or updated.
>
> OK, that makes sense.  So can the addition date of a package be
> determined?

stat -f"%Sc" /var/db/pkg/<pacakge name>

should give you the change time of the inode.  I am not exactly
certain if this will always correspond to the install time, but on my
machine, it does.

> --STeve Andre'
>
>


-- 
La brigade SnW veut vous recruter - http://brigade.snw.googlepages.com

Reply via email to