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

Bug#514305: smarty: Please sync the install path with Ubuntu



On snein 15 Augustus 2010, Raphael Hertzog wrote:
> On Thu, 12 Aug 2010, Thijs Kinkhorst wrote:
> > I agree that given that Ubuntu has made this rather poor decision, we're
> > only left with this inelegant way forward to unify the packages again.
> > Obviously we cannot have this changed for Squeeze anymore, so it'll have
> > to be postponed for a bit.
> 
> Are you taking smarty over?

Yes, as per http://bugs.debian.org/592797

> > > But this won't work automatically if plugins are installed in
> > > libs/plugins/. You will have to add a preinst snippet that moves files
> > > around...
> > 
> > /usr/share is the domain of the packaging system. So if there's anything
> > in libs/plugins, that is installed by another package and we should
> > rather not be moving that around in preinst. Those packages should be
> > updated instead, no? You indicate this already for smarty-gettext and
> > smarty-validate.
> 
> Yes, they must be updated instead. Smarty will have to add
> conflicts:/breaks: statements to ensure they are upgraded.
> 
> But there's the possibility that some plugins have been manually installed
> by the user.
> 
> With breaks, you would have to setup the symlink in postinst because
> that's the only point where you can be sure that the other packages have
> been upgraded.
> 
> With conflicts, you know in preinst already that other packages have been
> removed or upgraded already and you can deal with the symlink there in
> that case.

Yes. This would mean that if there are locally created Debian packages of 
those plugins then we would also be fiddling with their content. But perhaps 
there's no "perfect" solution and moving things over is the best of both 
options.


Cheers,
Thijs




Reply to: