Re: How to detect an upgrade from an older version of a package
On Mon, 14 Jul 2008, Thomas Goirand wrote:
> I want to make an update to libapache-mod-log-sql that needs some
> maintenances in it's SQL databases if we need to upgrade. Namely, it
> needs some table structure upgrades.
The right way to do this is to test the SQL database itself if it
needs to be updated. [Indeed, ideally the module itself would handle
upgrading itself if it was running an earlier version.]
Don Armstrong
--
America was far better suited to be the World's Movie Star. The
world's tequila-addled pro-league bowler. The world's acerbic bi-polar
stand-up comedian. Anything but a somber and tedious nation of
socially responsible centurions.
-- Bruce Sterling, _Distraction_ p122
http://www.donarmstrong.com http://rzlab.ucr.edu
Reply to: