Thanks Adam. I will fix it. 2011/11/12 Adam D. Barratt <a...@adam-barratt.org.uk>
> On Fri, 2011-11-11 at 16:21 +0100, Nicolas Roudaire wrote: > > Hi Loïc, > > > > can you explain how to reproduce ? piwigo doesn't depend on > > javascript-common so I didn't understand the bug. > > If you want to address the submitter, you need to actually mail them. > > In any case, looking at the prerm (which, btw, includes a comment > claiming it's the postrm), I'd suspect what's breaking is this: > > if [ /usr/share/dbconfig-common/dpkg/prerm ]; then > . /usr/share/dbconfig-common/dpkg/prerm > > That first line isn't testing > whether /usr/share/dbconfig-common/dpkg/prerm is executable, or even if > it exists - it's testing whether "/usr/share/dbconfig-common/dpkg/prerm" > is a non-zero-length string - which it clearly is. > > Regards, > > Adam > >