Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2005 09:46:37 +0100
From:      Nick Hilliard <nick-lists@netability.ie>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        ports@freebsd.org
Subject:   Re: How to detect portupgrade and barf
Message-ID:  <1129020397.11029.10.camel@localhost.netability.ie>
In-Reply-To: <20051010214813.GD24213@odin.ac.hmc.edu>
References:  <1128959405.30953.4.camel@localhost.netability.ie> <20051010214813.GD24213@odin.ac.hmc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> Do what needs to be done in the deinstall script of the package.  If you
> can't do that for some reason, you must find a way to have them both
> installed at once that is supported by the ports collection.  Short
> of some sort of new port per version scheme I don't see a way to do
> that.

Hi Brooks,

Both old and new package will be installed in version specific
directories, so no overlap will occur and the versions can be used and
run simultaneously.

The problem is how to detect whether portupgrade is being used to run
the pkg_delete, or whether pkg_delete is being run directly from the
command line. Is this supported, or is there some good or recommended
way of doing this?

Nick





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1129020397.11029.10.camel>