Hi,

On Fri, 01 May 2015, Dmitry Smirnov wrote:
> Package I am working on bundles "php-htmlpurifier" which I'm trying to 
> replace 
> using `dh-linktree` which fails on attempt to replace directory  
> "HTMLPurifier/DefinitionCache/Serializer" with 
> "/usr/share/php/HTMLPurifier/DefinitionCache/Serializer" (symlink):
> 
>     dh_linktree: link destination [...] is a directory

Solving this means that you have to remove the content of the whole
directory which is conflicting with the target symlink. Is this really
the desired result?

Let's assume that the directory is "plugins" and contains custom plugins
added by the application we're packaging... we clearly would like to
preserve those custom plugins and not replace them by the default
set of plugins shipped by the official packaged version of that directory.

So the right answer might well be to not replace the directory but to
recurse into the symlink contained in the original package.

I don't really have the time/motivation to work on dh-linktree so it would
be nice if you could try to provide patches for those issues. The package
is in collab-maint so that anyone can help. :-)

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to