[postgis-devel] Upgrade paths (again)

Sandro Santilli strk at kbt.io
Wed Sep 14 00:27:24 PDT 2022


On Sun, Aug 14, 2022 at 06:50:13AM -0400, Greg Troxel wrote:
> Sandro Santilli <strk at kbt.io> writes:
> 
> > The package managers I know of have the ability to run a script before
> > or after doing "things". Don't knot the details but they do things
> > like setting symlinks or starting interactive configuration sessions.
> >
> > They may as well run that script.
> 
> Yes, scripts can be run, but I view using that facility as an negative,
> rather than just producing the right bits at package build time.

There is no "right bits" as those depend on the status of the machine.
What's "right" depends on what versions users need to upgrade from,
thus the script (which can only partially determine that, in its
current state).

> And, at least in pkgsrc, running a de-installation script won't have
> available files (or any other information) from the new package.

I don't understand this last statement.

--strk;


More information about the postgis-devel mailing list