aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-06-06 02:36:02 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-06-11 17:23:09 +0200
commit455e0e38dc9899c3a4537a99e8c6d51f9aceba78 (patch)
tree35ce62759d2497193d59732e36a2a430e82d77af
parentapp-dicts/dictd-elements: new (diff)
downloadguru-455e0e38dc9899c3a4537a99e8c6d51f9aceba78.tar.gz
guru-455e0e38dc9899c3a4537a99e8c6d51f9aceba78.tar.bz2
guru-455e0e38dc9899c3a4537a99e8c6d51f9aceba78.zip
app-dicts/dictd-devils: fixes
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
-rw-r--r--app-dicts/dictd-devils/dictd-devils-20150822.ebuild27
1 files 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
-}