[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A quick, stupid question.




>	I'm simply trying to check for the presence of an
>OpenBSD package - if it's installed, I need to skip the
>download/installation of that package.

You might look at the -e option of pkg_info.  It's quite powerful.

Otherwise, the command `pkg_info -a | egrep "^$packagename"` might help.

Jill Lundquist		                           jill@chezns.org
"The first butcher I saw as a child had a wooden leg, and to this
 day I have an unreasonable feeling that butchers with two genuine
 legs are impostors."            -Robertson Davies