Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jun 1997 07:55:02 +0000 ()
From:      Tim Pushor <timp@orion.ab.ca>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc:        ports@FreeBSD.ORG
Subject:   Re: Ahhhh More pkg_add problems 
Message-ID:  <Pine.BSI.3.96.970604073007.23695A-100000@centaur.orion.ab.ca>
In-Reply-To: <5540.865405494@time.cdrom.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 3 Jun 1997, Jordan K. Hubbard wrote:

> > When I try to install my package and I don't have the package my package
> > depends on installed, it installs anyway, but gives me an error (kind of)
> > like this:
> > 
> > /var/spool/db/pkg/<name>/+REQUIRED BY not found
> 
> Hmmmm.  That _should_ work - let me look into it.
> 
> > 2) (somewhat unrelated0 is there a way that I can abort the install based
> > on the return value of a shell script? For example, I tried:
> 
> Yes, that's what the "requirements" script is for - take a look
> at the man page for pkg_create.

I think I need to clarify something. I am not using the pkg_create program
to create packages. I have been simply creating the files +CONTENTS, etc
etc in the root directory of my package directory, then tgzipping the
structure up. I don't know if this will make a difference or not..

The dependancy problem is not that big an issue for me as if I can run a
shell script upon installation I can check for the package to be installed
and abort if it is not...

Thanks for your help,
Tim
---
Tim Pushor                         Orion Technologies Inc.
Technical Director                 Phone: (403) 284-0042		   
timp@orion.ab.ca                   support@orion.ab.ca
http://www.orion.ab.ca/~timp       http://www.orion.ab.ca

     "communication leadership through innovation"





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.96.970604073007.23695A-100000>