[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#693123: unblock: rt-authen-externalauth/0.10-3



On Tue, 2012-11-13 at 13:00 +0100, Tom Jampen wrote:
> On 13.11.2012 12:12, Adam D. Barratt wrote:
> > On Tue, 2012-11-13 at 12:06 +0100, Tom Jampen wrote:
> >>* Adding postinst script for clearing the mason cache
> >> after configuring the package.
> > 
> > Could you expand on the rationale behind the postinst change, please?
> 
> After installing the new version of the perl files, the old version
> are still present in the mason cache. Thus the new version won't be
> used until the cache is cleared.

> See: http://requesttracker.wikia.com/wiki/CleanMasonCache

Ah, I see. The version of the clean-up listed in the "Debian & Ubuntu"
section of that page looks more robust, fwiw; it won't fail if there's a
large number of files involved, and won't try to remove directories.

The request-tracker4 package uses:

find /var/cache/request-tracker$branch_version/mason_data -type f -print0 |xargs -r0 rm -f

Regards,

Adam


Reply to: