summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Turk <satai@gentoo.org>2002-09-12 07:20:19 +0000
committerMatthew Turk <satai@gentoo.org>2002-09-12 07:20:19 +0000
commitdbf1205104f11920b1447bb4401d807037e0fc11 (patch)
tree2cf11b268e20ee41a596639e4b028e411b45e677 /app-text/sgml-common
parentadded keywords (diff)
downloadhistorical-dbf1205104f11920b1447bb4401d807037e0fc11.tar.gz
historical-dbf1205104f11920b1447bb4401d807037e0fc11.tar.bz2
historical-dbf1205104f11920b1447bb4401d807037e0fc11.zip
Added much more robust file checking to several of these; hopefully this will
clear up any outstanding issues with sgml catalogs. This should also fix the behavior seen in bug 6854.
Diffstat (limited to 'app-text/sgml-common')
-rw-r--r--app-text/sgml-common/ChangeLog6
-rw-r--r--app-text/sgml-common/sgml-common-0.6.3-r2.ebuild8
2 files changed, 12 insertions, 2 deletions
diff --git a/app-text/sgml-common/ChangeLog b/app-text/sgml-common/ChangeLog
index 9fe61f96a4b4..a7a9c78f4ebb 100644
--- a/app-text/sgml-common/ChangeLog
+++ b/app-text/sgml-common/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/sgml-common
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/ChangeLog,v 1.7 2002/08/02 17:42:50 phoenix Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/ChangeLog,v 1.8 2002/09/12 07:20:19 satai Exp $
+
+*sgml-common-0.6.3-r2 (12 Sep 2002)
+ 12 Sep 2002; satai <satai@gentoo.org> sgml-common-0.6.3-r2.ebuild :
+ Added more robust file checking.
*sgml-common-0.6.3-r2 (12 Jul 2002)
diff --git a/app-text/sgml-common/sgml-common-0.6.3-r2.ebuild b/app-text/sgml-common/sgml-common-0.6.3-r2.ebuild
index c7459f98ec52..14556f3af5b2 100644
--- a/app-text/sgml-common/sgml-common-0.6.3-r2.ebuild
+++ b/app-text/sgml-common/sgml-common-0.6.3-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/sgml-common-0.6.3-r2.ebuild,v 1.4 2002/08/16 02:42:02 murphy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/sgml-common/sgml-common-0.6.3-r2.ebuild,v 1.5 2002/09/12 07:20:19 satai Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Base ISO character entities and utilities for SGML"
@@ -60,13 +60,19 @@ pkg_postrm() {
if [ ! -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ]
then
echo ">>> Removing Catalogs..."
+ if [ -e /etc/sgml/sgml-ent.cat ]
+ then
${T}/install-catalog --remove \
/etc/sgml/sgml-ent.cat \
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
+ fi
+ if [ -e /etc/sgml/sgml-docbook.cat ]
+ then
${T}/install-catalog --remove \
/etc/sgml/sgml-docbook.cat \
/etc/sgml/sgml-ent.cat
+ fi
fi
}