Comment 31 for bug 578137

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 578137] Re: gallery2 2.3 php 5.3 incompatibility

Jean-Baptiste Lallement [2010-07-17 21:57 -0000]:
> Charlie, no they aren't there any more since they are removed in the
> old postrm and that's what this sru is intended to fix. You should
> probably specifically handle the upgrade from version 2.3-1ubuntu2
> and recreate the directories, without forgetting to save the config
> files in /etc/gallery2 prior to the execution of the old-postrm.

This can be done in the preinst script. It should copy/move away the
files/dirs, and then the postinst script can move them back on
upgrade.