On Sun, 24 Dec 2006 13:42:39 +0800
"Edward G.J. Lee" <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
>   What's the difference between `portversion' and `pkg_version -I'?
> 
>

Probably not much. pkg_version is part of the base-system, portversion
is one of the portupgrade package tools. Since portversion was created,
pkg_version has I think acquired some new features blurring the
distinction.

Personally, I don't like to get version information from the INDEX
file, I'd rather get an accurate answer, than a fast one. Another
reason I don't like portversion is that it's forever asking me to run
pkgdb. Aside from being a pain, it makes portversion unsuitable for use
in scripts.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to