Re: Faster pkg_version

2007-08-01 Thread Stephen Montgomery-Smith
Stephen Montgomery-Smith wrote: Here is my next attempt to make a faster pkg_version. This script is not going to be 100% reliable, but it should work most of the time. It works by first checking the time difference between /var/db/pkg/*/+CONTENTS and /usr/ports/*/*/Makefile, and only

Faster pkg_version

2007-08-01 Thread Stephen Montgomery-Smith
Here is my next attempt to make a faster pkg_version. This script is not going to be 100% reliable, but it should work most of the time. It works by first checking the time difference between /var/db/pkg/*/+CONTENTS and /usr/ports/*/*/Makefile, and only invokes pkg_version if the former is