On Fri, Sep 14, 2001 at 09:23:53AM -0500, Steve Greenland wrote:
> On 13-Sep-01, 18:37 (CDT), Edward Betts <[EMAIL PROTECTED]> wrote: 
> > 
> > Debconf question: do you want a symlink.
> 
> Please, no. The fact that debconf provides an easy, consistent way to
> interact with the user does not mean that every possible choice that
> a package makes needs to ask the user. If I wanted to make all the
> choices, I'll build from source :-). Either put in the symlink, or
> don't, but don't bug me about it.

Amen!
 
> If you want to put in the symlink, but allow the admin to remove it
> permanently, do this:
> 
> 1. If a new install, don't add symlink (no installed base).
> 
> 2. If upgrading from a version that had /usr/lib/procmail-lib, put in
> symlink.
> 
> 3. If upgrading from a (newer) version that did not have 
> /usr/lib/procmail-lib,
> don't do anything (neither add nor remove symlink).
> 
> This is easy by looking at the arguments to the postinst and using 'dpkg
> --compare-versions'.

Err, why not just test for the existence of directory /usr/lib/procmail-lib ?
Is there an advantage to checking the package version instead?


-Steve 

-- 
by Rocket to the Moon,
by Airplane to the Rocket,
by Taxi to the Airport,
by Frontdoor to the Taxi,
by throwing back the blanket and laying down the legs ...
- They Might Be Giants


Reply via email to