summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Turk <satai@gentoo.org>2003-02-05 05:26:32 +0000
committerMatthew Turk <satai@gentoo.org>2003-02-05 05:26:32 +0000
commit9bdc98540e8b78cf9c4f81e8314fe4951ef080a9 (patch)
tree0b05307eed4d22fdc18519f749ffdade332f6a6c /app-text/tetex
parentWrapped SSL and GPG features into "ssl" and "crypt" USE flags. (diff)
downloadgentoo-2-9bdc98540e8b78cf9c4f81e8314fe4951ef080a9.tar.gz
gentoo-2-9bdc98540e8b78cf9c4f81e8314fe4951ef080a9.tar.bz2
gentoo-2-9bdc98540e8b78cf9c4f81e8314fe4951ef080a9.zip
Fixed some installation/upgrading problems.
Diffstat (limited to 'app-text/tetex')
-rw-r--r--app-text/tetex/ChangeLog7
-rw-r--r--app-text/tetex/tetex-2.0.ebuild10
2 files changed, 15 insertions, 2 deletions
diff --git a/app-text/tetex/ChangeLog b/app-text/tetex/ChangeLog
index 07b329efa731..c09daae42305 100644
--- a/app-text/tetex/ChangeLog
+++ b/app-text/tetex/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/tetex
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.28 2003/02/05 00:48:25 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.29 2003/02/05 05:26:32 satai Exp $
+
+ 04 Feb 2003; Matthew Turk <satai@gentoo.org> : tetex-2.0.ebuild
+ Fixed installation woes; will now manually remove /usr/share/texmf/dvipdfm if
+ it exists. This should clear up problems with conflicts between versions of
+ dvipdfm storing configuration in slightly different fashions.
05 Feb 2003; Martin Schlemmer <azarah@gentoo.org> tetex-2.0.ebuild :
Updated to use epatch.
diff --git a/app-text/tetex/tetex-2.0.ebuild b/app-text/tetex/tetex-2.0.ebuild
index adabca626313..357528bb2649 100644
--- a/app-text/tetex/tetex-2.0.ebuild
+++ b/app-text/tetex/tetex-2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-2.0.ebuild,v 1.3 2003/02/05 00:48:25 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-2.0.ebuild,v 1.4 2003/02/05 05:26:32 satai Exp $
inherit eutils flag-o-matic
@@ -154,6 +154,14 @@ src_install() {
chown -R root.root ${D}/usr/share/texmf
}
+pkg_preinst() {
+ if [ -d "/usr/share/texmf/dvipdfm/config" ]
+ then
+ ewarn "Removing /usr/share/texmf/dvipdfm/config/"
+ rm -rf /usr/share/texmf/dvipdfm/config
+ fi
+}
+
pkg_postinst() {
if [ $ROOT = "/" ]