summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/sgml-common/sgml-common-0.6.1.ebuild')
-rw-r--r--app-text/sgml-common/sgml-common-0.6.1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-text/sgml-common/sgml-common-0.6.1.ebuild b/app-text/sgml-common/sgml-common-0.6.1.ebuild
index 961436473e5b..e5e6c0e11eb0 100644
--- a/app-text/sgml-common/sgml-common-0.6.1.ebuild
+++ b/app-text/sgml-common/sgml-common-0.6.1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/sgml-common-0.6.1.ebuild,v 1.2 2001/03/19 21:00:02 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/sgml-common-0.6.1.ebuild,v 1.3 2001/05/16 11:36:45 achim Exp $
A=${P}.tgz
S=${WORKDIR}/${P}
@@ -33,6 +33,8 @@ pkg_postinst() {
}
pkg_prerm() {
+ if [ "$ROOT" = "/" ] ; then
install-catalog --remove /etc/sgml/sgml-ent.cat /usr/share/sgml/sgml-iso-entities-8879.1986/catalog
install-catalog --add /etc/sgml/sgml-docbook.cat /etc/sgml/sgml-ent.cat
+ fi
} \ No newline at end of file