diff options
author | Matthew Turk <satai@gentoo.org> | 2002-09-12 07:20:19 +0000 |
---|---|---|
committer | Matthew Turk <satai@gentoo.org> | 2002-09-12 07:20:19 +0000 |
commit | dbf1205104f11920b1447bb4401d807037e0fc11 (patch) | |
tree | 2cf11b268e20ee41a596639e4b028e411b45e677 /app-text/sgmltools-lite | |
parent | added keywords (diff) | |
download | historical-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/sgmltools-lite')
-rw-r--r-- | app-text/sgmltools-lite/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/sgmltools-lite/sgmltools-lite-3.0.3-r5.ebuild | 9 |
2 files changed, 12 insertions, 4 deletions
diff --git a/app-text/sgmltools-lite/ChangeLog b/app-text/sgmltools-lite/ChangeLog index 37adeb9797cb..adb9007a3187 100644 --- a/app-text/sgmltools-lite/ChangeLog +++ b/app-text/sgmltools-lite/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/sgmltools-lite # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/ChangeLog,v 1.9 2002/09/03 02:25:19 satai Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/sgmltools-lite/ChangeLog,v 1.10 2002/09/12 07:20:19 satai Exp $ + +*sgmltools-lite-3.0.3-r5 (12 Sep 2002) + + 12 Sep 2002; satai <satai@gentoo.org> sgmltools-lite-3.0.3-r5.ebuild : + Added more robust file checking. *sgmltools-lite-3.0.3-r5 (02 Sep 2002) diff --git a/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r5.ebuild b/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r5.ebuild index 4f6cc3bdd63a..0996163f018f 100644 --- a/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r5.ebuild +++ b/app-text/sgmltools-lite/sgmltools-lite-3.0.3-r5.ebuild @@ -101,8 +101,11 @@ pkg_postinst() { pkg_prerm() { if [ -x "/usr/bin/install-catalog" ] && [ "$ROOT" = "/" ] then - install-catalog --remove \ - /etc/sgml/sgml-lite.cat \ - /usr/share/sgml/stylesheets/sgmltools/sgmltools.cat + if [ -e sgml-lite.cat ] + then + install-catalog --remove \ + /etc/sgml/sgml-lite.cat \ + /usr/share/sgml/stylesheets/sgmltools/sgmltools.cat + fi fi } |