commit: 455e0e38dc9899c3a4537a99e8c6d51f9aceba78
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Jun 6 00:36:02 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Jun 11 15:23:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=455e0e38
app-dicts/dictd-devils: fixes
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
.../dictd-devils/dictd-devils-20150822.ebuild | 27 ++--------------------
1 file changed, 2 insertions(+), 25 deletions(-)
diff --git a/app-dicts/dictd-devils/dictd-devils-20150822.ebuild
b/app-dicts/dictd-devils/dictd-devils-20150822.ebuild
index eb3810b3b..304a3f090 100644
--- a/app-dicts/dictd-devils/dictd-devils-20150822.ebuild
+++ b/app-dicts/dictd-devils/dictd-devils-20150822.ebuild
@@ -11,7 +11,8 @@ LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64"
-DEPEND=">=app-text/dictd-1.5.5"
+RDEPEND=">=app-text/dictd-1.5.5"
+BDEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/format.patch" )
@@ -39,27 +40,3 @@ src_install() {
insinto /var/dict
doins devils.dict.dz devils.index
}
-
-pkg_preinst() {
- HAS_OLD_VERSION="$(has_version app-dicts/${PN})"
-}
-
-pkg_postinst() {
- if "${HAS_OLD_VERSION}" ; then
- elog "You must restart your dictd server before the ${PN}
dictionary is"
- elog "completely updated. If you are using OpenRC, this may be
accomplished by"
- elog "running '/etc/init.d/dictd restart'."
- else
- elog "You must register ${PN} and restart your dictd server
before the"
- elog "dictionary is available for use. If you are using
OpenRC, both tasks may be"
- elog "accomplished by running '/etc/init.d/dictd restart'."
- fi
-}
-
-pkg_postrm() {
- if ! "${HAS_OLD_VERSION}" ; then
- elog "You must unregister ${PN} and restart your dictd server
before the"
- elog "dictionary is completely removed. If you are using
OpenRC, both tasks may be"
- elog "accomplished by running '/etc/init.d/dictd restart'."
- fi
-}