begin quote On Mon, 18 Aug 2003 22:31:47 -0400 Owen Gunden wrote: > So hypothetically, if I wanted to write a shell script that behaved > differently if virtual/mta was installed than if it was not, what > would I do? > > I'd like a command that would return a specific exit status based on > whether or not the virtual dependency is there. But frankly I'm > willing to use grep for a nice gross hack too. Tell the truth, I > don't even know how to do this for regular (non-virtual) packages. > > I've played around with qpkg, but with little luck. Is there any way > to do this with or without qpkg? > cat /var/cache/edb/virtuals ... this should give you the format enough to work shell magic with it :) //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end