Subject: Re: make package but not if it's installed
To: None <>
From: Andrew Brown <>
List: tech-pkg
Date: 04/03/2003 08:24:06
>> is there an analog to this that can be used to build/install/package a
>> package, or does nothing if the package is already installed?
>The code that does this currently uses cookies in the work directory
>for finding out if building/installing/packaging already happened.

right.  but i'm looking for something that short-circuits that.

>What would you want to have for installed/packaged packages?
>pkg_info -e should answer the first question, and ls the second :)

true, but pkgsrc doesn't currently use those mechanisms to abort the
build.  it just merrily ploughs through and slams into a failed

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."