1 |
commit: 455e0e38dc9899c3a4537a99e8c6d51f9aceba78 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jun 6 00:36:02 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Jun 11 15:23:09 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=455e0e38 |
7 |
|
8 |
app-dicts/dictd-devils: fixes |
9 |
|
10 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
11 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
12 |
|
13 |
.../dictd-devils/dictd-devils-20150822.ebuild | 27 ++-------------------- |
14 |
1 file changed, 2 insertions(+), 25 deletions(-) |
15 |
|
16 |
diff --git a/app-dicts/dictd-devils/dictd-devils-20150822.ebuild b/app-dicts/dictd-devils/dictd-devils-20150822.ebuild |
17 |
index eb3810b3b..304a3f090 100644 |
18 |
--- a/app-dicts/dictd-devils/dictd-devils-20150822.ebuild |
19 |
+++ b/app-dicts/dictd-devils/dictd-devils-20150822.ebuild |
20 |
@@ -11,7 +11,8 @@ LICENSE="public-domain" |
21 |
SLOT="0" |
22 |
KEYWORDS="~amd64" |
23 |
|
24 |
-DEPEND=">=app-text/dictd-1.5.5" |
25 |
+RDEPEND=">=app-text/dictd-1.5.5" |
26 |
+BDEPEND="${RDEPEND}" |
27 |
|
28 |
PATCHES=( "${FILESDIR}/format.patch" ) |
29 |
|
30 |
@@ -39,27 +40,3 @@ src_install() { |
31 |
insinto /var/dict |
32 |
doins devils.dict.dz devils.index |
33 |
} |
34 |
- |
35 |
-pkg_preinst() { |
36 |
- HAS_OLD_VERSION="$(has_version app-dicts/${PN})" |
37 |
-} |
38 |
- |
39 |
-pkg_postinst() { |
40 |
- if "${HAS_OLD_VERSION}" ; then |
41 |
- elog "You must restart your dictd server before the ${PN} dictionary is" |
42 |
- elog "completely updated. If you are using OpenRC, this may be accomplished by" |
43 |
- elog "running '/etc/init.d/dictd restart'." |
44 |
- else |
45 |
- elog "You must register ${PN} and restart your dictd server before the" |
46 |
- elog "dictionary is available for use. If you are using OpenRC, both tasks may be" |
47 |
- elog "accomplished by running '/etc/init.d/dictd restart'." |
48 |
- fi |
49 |
-} |
50 |
- |
51 |
-pkg_postrm() { |
52 |
- if ! "${HAS_OLD_VERSION}" ; then |
53 |
- elog "You must unregister ${PN} and restart your dictd server before the" |
54 |
- elog "dictionary is completely removed. If you are using OpenRC, both tasks may be" |
55 |
- elog "accomplished by running '/etc/init.d/dictd restart'." |
56 |
- fi |
57 |
-} |