mail-client/thunderbird: fix enigmail symlink installation
authorIan Stakenvicius <axs@gentoo.org>
Mon, 13 Mar 2017 15:35:58 +0000 (11:35 -0400)
committerIan Stakenvicius <axs@gentoo.org>
Tue, 14 Mar 2017 13:40:43 +0000 (09:40 -0400)
commit99b163f52f313d45f9323717a4071586097ffc58
tree15c280c4d66360ec5392c3b6704ba60ad776349f
parentdfa7bb8131a2d63eb451a3949d33c786972b6787
mail-client/thunderbird: fix enigmail symlink installation

Limitations in package managers prevent a symbolic link from replacing a directory
at merge time.  This patch addresses that issue by removing the directory belonging
to the currently installed thunderbird in pkg_preinst().  It's been tested against
a direct upgrade form 45.7.0 as well as a reinstall, and seems to do the 'right thing'
in all cases.

Package-Manager: portage-2.3.3
mail-client/thunderbird/thunderbird-45.8.0.ebuild