summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Conrad Tilstra <tadpol@gentoo.org>2001-04-24 22:58:35 +0000
committerMichael Conrad Tilstra <tadpol@gentoo.org>2001-04-24 22:58:35 +0000
commit1f15f32f45d85ae85b2af6b5a7c5a45be36a8527 (patch)
treedd03577b1ea2a7c6cbad84b23495e23fd458b540 /app-text/dictd-web1913
parent- dictionaray databases for dictd (diff)
downloadhistorical-1f15f32f45d85ae85b2af6b5a7c5a45be36a8527.tar.gz
historical-1f15f32f45d85ae85b2af6b5a7c5a45be36a8527.tar.bz2
historical-1f15f32f45d85ae85b2af6b5a7c5a45be36a8527.zip
- fixed a bug in a pkg_postinst().
- added a pkg_postrm().
Diffstat (limited to 'app-text/dictd-web1913')
-rw-r--r--app-text/dictd-web1913/dictd-web1913-1.4.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/app-text/dictd-web1913/dictd-web1913-1.4.ebuild b/app-text/dictd-web1913/dictd-web1913-1.4.ebuild
index e4ff8de27bc3..29dd840b087f 100644
--- a/app-text/dictd-web1913/dictd-web1913-1.4.ebuild
+++ b/app-text/dictd-web1913/dictd-web1913-1.4.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Michael Conrad Tilstra <michael@gentoo.org> <tadpol@tadpol.org>
-# $Header: /var/cvsroot/gentoo-x86/app-text/dictd-web1913/dictd-web1913-1.4.ebuild,v 1.1 2001/04/24 22:07:29 michael Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/dictd-web1913/dictd-web1913-1.4.ebuild,v 1.2 2001/04/24 22:58:35 michael Exp $
#P=
A=dict-web1913-1.4-pre.tar.gz
@@ -28,5 +28,12 @@ __EOF__
fi
}
+pkg_postrm() {
+if [ -f /etc/dict/dictd.conf ]; then
+ cat /etc/dict/dictd.conf | sed -e '/web1913/d' > /etc/dict/dictd.conf.$$
+ mv /etc/dict/dictd.conf.$$ /etc/dict/dictd.conf
+fi
+}
+
# vim: ai et sw=4 ts=4