1 |
commit: 98fc3da5328a90e90d93fe6fddd3aec964f579c0 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 8 06:49:59 2017 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 8 06:49:59 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98fc3da5 |
7 |
|
8 |
app-i18n/canna: remove pkg_prerm and pkg_postrm |
9 |
|
10 |
Gentoo-Bug: 328693 |
11 |
|
12 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
13 |
|
14 |
app-i18n/canna/canna-3.7_p3-r1.ebuild | 26 +------------------------- |
15 |
app-i18n/canna/canna-3.7_p3-r2.ebuild | 24 ------------------------ |
16 |
2 files changed, 1 insertion(+), 49 deletions(-) |
17 |
|
18 |
diff --git a/app-i18n/canna/canna-3.7_p3-r1.ebuild b/app-i18n/canna/canna-3.7_p3-r1.ebuild |
19 |
index 1153ee9dc23..51effafc6b7 100644 |
20 |
--- a/app-i18n/canna/canna-3.7_p3-r1.ebuild |
21 |
+++ b/app-i18n/canna/canna-3.7_p3-r1.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2012 Gentoo Foundation |
24 |
+# Copyright 1999-2017 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
inherit cannadic eutils multilib |
28 |
@@ -19,7 +19,6 @@ DEPEND=">=sys-apps/sed-4 |
29 |
x11-misc/gccmakedep |
30 |
x11-misc/imake" |
31 |
RDEPEND="" |
32 |
- |
33 |
S="${WORKDIR}/${MY_P}" |
34 |
|
35 |
src_unpack() { |
36 |
@@ -118,26 +117,3 @@ pkg_postinst() { |
37 |
elog "You should rebuild app-dict/canna-* after emerge." |
38 |
elog |
39 |
} |
40 |
- |
41 |
-pkg_prerm() { |
42 |
- if [ -S /tmp/.iroha_unix/IROHA ] ; then |
43 |
- # make sure cannaserver get stopped because otherwise |
44 |
- # we cannot stop it with /etc/init.d after emerge -C canna |
45 |
- einfo |
46 |
- einfo "Stopping Canna for safe unmerge" |
47 |
- einfo |
48 |
- /etc/init.d/canna stop |
49 |
- touch "${T}"/canna.cookie |
50 |
- fi |
51 |
-} |
52 |
- |
53 |
-pkg_postrm() { |
54 |
- if [ -f /usr/sbin/cannaserver -a -e "${T}"/canna.cookie ] ; then |
55 |
- #update-cannadic-dir |
56 |
- einfo |
57 |
- einfo "Restarting Canna" |
58 |
- einfo |
59 |
- /etc/init.d/canna start |
60 |
- rm -f "${T}"/canna.cookie |
61 |
- fi |
62 |
-} |
63 |
|
64 |
diff --git a/app-i18n/canna/canna-3.7_p3-r2.ebuild b/app-i18n/canna/canna-3.7_p3-r2.ebuild |
65 |
index 1f4b241bce4..0f222e9dac2 100644 |
66 |
--- a/app-i18n/canna/canna-3.7_p3-r2.ebuild |
67 |
+++ b/app-i18n/canna/canna-3.7_p3-r2.ebuild |
68 |
@@ -26,7 +26,6 @@ DEPEND=">=sys-apps/sed-4 |
69 |
dev-texlive/texlive-latexrecommended |
70 |
)" |
71 |
RDEPEND="" |
72 |
- |
73 |
S="${WORKDIR}/${MY_P}" |
74 |
|
75 |
src_unpack() { |
76 |
@@ -141,26 +140,3 @@ pkg_postinst() { |
77 |
elog |
78 |
fi |
79 |
} |
80 |
- |
81 |
-pkg_prerm() { |
82 |
- if [ -S /tmp/.iroha_unix/IROHA ] ; then |
83 |
- # make sure cannaserver get stopped because otherwise |
84 |
- # we cannot stop it with /etc/init.d after emerge -C canna |
85 |
- einfo |
86 |
- einfo "Stopping Canna for safe unmerge" |
87 |
- einfo |
88 |
- /etc/init.d/canna stop |
89 |
- touch "${T}"/canna.cookie |
90 |
- fi |
91 |
-} |
92 |
- |
93 |
-pkg_postrm() { |
94 |
- if [ -f /usr/sbin/cannaserver -a -e "${T}"/canna.cookie ] ; then |
95 |
- #update-cannadic-dir |
96 |
- einfo |
97 |
- einfo "Restarting Canna" |
98 |
- einfo |
99 |
- /etc/init.d/canna start |
100 |
- rm -f "${T}"/canna.cookie |
101 |
- fi |
102 |
-} |