Bug#514305: smarty: Please sync the install path with Ubuntu
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?
> > 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
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
Raphaël Hertzog ◈ Debian Developer ◈ [Flattr=20693]
Follow my Debian News ▶ http://RaphaelHertzog.com (English)
▶ http://RaphaelHertzog.fr (Français)