Re: test for installed status of package, ports questions

2011-02-01 Thread Stuart Henderson
On 2011-01-31, Joachim Schipper wrote: >> Also, I've noticed that if I don't have X11 installed, I can't seem to >> install certain packages (such as subversion) and certain ports >> (EMACS, and even if I set FLAVOR=no_x11). What's up with that? > > xbase is now mandatory for packages, even no_x1

Re: test for installed status of package, ports questions

2011-01-31 Thread max stalnaker
There is an out-of-date script in infrastructure/build . It looks to me that it list everything installed. If it needs to be updated, it tells you that too. On Mon, Jan 31, 2011 at 12:42 PM, Bryan wrote: > On Mon, Jan 31, 2011 at 13:29, wrote: > > Hey all, > > > > I have a script to sort of

Re: test for installed status of package, ports questions

2011-01-31 Thread VICTOR TARABOLA CORTIANO
> $ pkg_info | grep ^banana- > /dev/null Could also be $ pkg_info | grep -q ^banana-

Re: test for installed status of package, ports questions

2011-01-31 Thread Bryan
On Mon, Jan 31, 2011 at 13:29, wrote: > Hey all, > > I have a script to sort of kickstart an installation after doing a > bare install of OpenBSD, and it's designed to be idempotent (won't > hurt to run it several times). > > Currently I install some packages, but that's a bit of a time-waster >

Re: test for installed status of package, ports questions

2011-01-31 Thread Anthony J. Bentley
Hi Travis, On Mon, Jan 31, 2011 at 12:29 PM, wrote: > Currently I install some packages, but that's a bit of a time-waster > in that it will reinstall. B Is there a way I can test for whether a > package has been installed already, given only the package name, and > not necessarily the executabl

Re: test for installed status of package, ports questions

2011-01-31 Thread Jan Stary
> > I have a script to sort of kickstart an installation after doing a > > bare install of OpenBSD, and it's designed to be idempotent (won't > > hurt to run it several times). > > Currently I install some packages, but that's a bit of a time-waster > > in that it will reinstall. > Is there a way

Re: test for installed status of package, ports questions

2011-01-31 Thread Ted Unangst
On Mon, Jan 31, 2011 at 2:29 PM, wrote: > Currently I install some packages, but that's a bit of a time-waster > in that it will reinstall. Is there a way I can test for whether a > package has been installed already, given only the package name, and > not necessarily the executable name (if th

Re: test for installed status of package, ports questions

2011-01-31 Thread Joachim Schipper
On Mon, Jan 31, 2011 at 01:29:40PM -0600, tra...@subspacefield.org wrote: > I have a script to sort of kickstart an installation after doing a > bare install of OpenBSD, and it's designed to be idempotent (won't > hurt to run it several times). > > Currently I install some packages, but that's a b

test for installed status of package, ports questions

2011-01-31 Thread travis
Hey all, I have a script to sort of kickstart an installation after doing a bare install of OpenBSD, and it's designed to be idempotent (won't hurt to run it several times). Currently I install some packages, but that's a bit of a time-waster in that it will reinstall. Is there a way I can test