Subject: Re: make package but not if it's installed
To: None <tech-pkg@netbsd.org>
From: Andrew Brown <atatat@atatdot.net>
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
install.
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
werdna@squooshy.com * "information is power -- share the wealth."