1 |
commit: fd7d47b11f9ec6588e91e9d22784b06adcf80132 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 24 14:17:12 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 24 14:17:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd7d47b1 |
7 |
|
8 |
www-client/seamonkey: De-uglify new enigmail code a bit. |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
www-client/seamonkey/seamonkey-2.48-r1.ebuild | 15 ++++++++------- |
13 |
1 file changed, 8 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/www-client/seamonkey/seamonkey-2.48-r1.ebuild b/www-client/seamonkey/seamonkey-2.48-r1.ebuild |
16 |
index e68716cfeda..01fae8065d9 100644 |
17 |
--- a/www-client/seamonkey/seamonkey-2.48-r1.ebuild |
18 |
+++ b/www-client/seamonkey/seamonkey-2.48-r1.ebuild |
19 |
@@ -400,13 +400,14 @@ pkg_preinst() { |
20 |
die "Could not find enigmail on disk during pkg_preinst()" |
21 |
fi |
22 |
if [[ ! -h "${emidpath}" ]] && [[ -d "${emidpath}" ]]; then |
23 |
- rm -Rf "${emidpath}" || ( |
24 |
- eerror "Could not remove enigmail directory from previous installation," |
25 |
- eerror "You must remove this by hand and rename the symbolic link yourself:" |
26 |
- eerror |
27 |
- eerror "\t cd ${EPREFIX}${MOZILLA_FIVE_HOME}/extensions" |
28 |
- eerror "\t rm -Rf ${emid}" |
29 |
- eerror "\t mv ${emid}.backup* ${emid}" ) |
30 |
+ if ! rm -R --interactive=never "${emidpath}" ; then |
31 |
+ eerror "Could not remove enigmail directory from previous installation," |
32 |
+ eerror "You must remove this by hand and rename the symbolic link yourself:" |
33 |
+ eerror |
34 |
+ eerror "\t cd ${EPREFIX%/}${MOZILLA_FIVE_HOME}/extensions" |
35 |
+ eerror "\t rm -Rf ${emid}" |
36 |
+ eerror "\t mv ${emid}.backup* ${emid}" |
37 |
+ fi |
38 |
fi |
39 |
fi |
40 |
} |