summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-04-07 23:50:23 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-04-07 23:50:23 +0000
commit18e8a447b1fa63e65f677b0ea9b1acf1888e0f4b (patch)
treea9443eea4996813009504b548b9390c3254adec7 /app-text
parentinitial ebuild (diff)
downloadgentoo-2-18e8a447b1fa63e65f677b0ea9b1acf1888e0f4b.tar.gz
gentoo-2-18e8a447b1fa63e65f677b0ea9b1acf1888e0f4b.tar.bz2
gentoo-2-18e8a447b1fa63e65f677b0ea9b1acf1888e0f4b.zip
small fix
Diffstat (limited to 'app-text')
-rw-r--r--app-text/openjade/openjade-1.3.1-r1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/app-text/openjade/openjade-1.3.1-r1.ebuild b/app-text/openjade/openjade-1.3.1-r1.ebuild
index d09ce9bf32fe..855a6b278592 100644
--- a/app-text/openjade/openjade-1.3.1-r1.ebuild
+++ b/app-text/openjade/openjade-1.3.1-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 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/openjade/openjade-1.3.1-r1.ebuild,v 1.2 2002/04/07 22:11:40 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/openjade/openjade-1.3.1-r1.ebuild,v 1.3 2002/04/07 23:50:23 azarah Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Jade is an implemetation of DSSSL - an ISO standard for formatting SGML (and XML) documents"
@@ -104,7 +104,9 @@ pkg_postrm() {
[ -e /etc/sgml/${P}.cat ] ; then
install-catalog --remove /etc/sgml/${P}.cat /usr/share/sgml/openjade-${PV}/unicode/catalog
fi
-# install-catalog --add /etc/sgml/sgml-docbook.cat /etc/sgml/${P}.cat
+ if [ ! -e /etc/sgml/${P}.cat ] ; then
+ install-catalog --remove /etc/sgml/sgml-docbook.cat /etc/sgml/${P}.cat
+ fi
fi
}