diff options
Diffstat (limited to 'app-text/dictd-gazetteer/dictd-gazetteer-1.2.ebuild')
-rw-r--r-- | app-text/dictd-gazetteer/dictd-gazetteer-1.2.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app-text/dictd-gazetteer/dictd-gazetteer-1.2.ebuild b/app-text/dictd-gazetteer/dictd-gazetteer-1.2.ebuild index de073f9d368b..673f1b12b1b3 100644 --- a/app-text/dictd-gazetteer/dictd-gazetteer-1.2.ebuild +++ b/app-text/dictd-gazetteer/dictd-gazetteer-1.2.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-gazetteer/dictd-gazetteer-1.2.ebuild,v 1.1 2001/04/24 22:07:29 michael Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/dictd-gazetteer/dictd-gazetteer-1.2.ebuild,v 1.2 2001/04/24 22:58:35 michael Exp $ #P= A=dict-gazetteer-1.2-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 '/gazetteer/d' > /etc/dict/dictd.conf.$$ + mv /etc/dict/dictd.conf.$$ /etc/dict/dictd.conf +fi +} + # vim: ai et sw=4 ts=4 |