"Steinar H. Gunderson" <[EMAIL PROTECTED]> writes:

> Here's a patch to do that; before configure, it checks for the
> existence of the given symlink, and if it exists, removes
> it. Testing would be appreciated.

Thanks for the patch, I'm uploading a package with something similar
now.  Some notes:

 o I ran the code in the preinst because it seems obvious to me that
   the earlier we can get rid of the symlink the better.

 o Using readlink -f is wrong - we're looking for a very specific
   dangling symlink and we don't actually want to canonicalise it as
   that'll break in certain circumstances (e.g. if you have /usr ->
   /x/usr like I do).

-- 
James


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

Reply via email to