diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2005-07-14 11:48:37 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2005-07-14 11:48:37 +0000 |
commit | 9f5c1ba48fae683d4468d60e9a71d75aec4f1a51 (patch) | |
tree | 305a421c1469cf8e2ebb4272ef93a40c78446e7a /dev-libs/libxml2 | |
parent | Update metadata. (diff) | |
download | gentoo-2-9f5c1ba48fae683d4468d60e9a71d75aec4f1a51.tar.gz gentoo-2-9f5c1ba48fae683d4468d60e9a71d75aec4f1a51.tar.bz2 gentoo-2-9f5c1ba48fae683d4468d60e9a71d75aec4f1a51.zip |
Fix post install to use $ROOT.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-libs/libxml2')
-rw-r--r-- | dev-libs/libxml2/ChangeLog | 5 | ||||
-rw-r--r-- | dev-libs/libxml2/libxml2-2.6.20.ebuild | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/dev-libs/libxml2/ChangeLog b/dev-libs/libxml2/ChangeLog index e5bb6884f67f..b9d8068bad3a 100644 --- a/dev-libs/libxml2/ChangeLog +++ b/dev-libs/libxml2/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-libs/libxml2 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v 1.125 2005/07/13 01:26:06 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v 1.126 2005/07/14 11:48:37 azarah Exp $ + + 14 Jul 2005; Martin Schlemmer <azarah@gentoo.org> libxml2-2.6.20.ebuild: + Fix post install to use $ROOT. *libxml2-2.6.20 (13 Jul 2005) diff --git a/dev-libs/libxml2/libxml2-2.6.20.ebuild b/dev-libs/libxml2/libxml2-2.6.20.ebuild index 9f5eae3cd1e9..b81bd1ca7883 100644 --- a/dev-libs/libxml2/libxml2-2.6.20.ebuild +++ b/dev-libs/libxml2/libxml2-2.6.20.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.6.20.ebuild,v 1.1 2005/07/13 01:26:06 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.6.20.ebuild,v 1.2 2005/07/14 11:48:37 azarah Exp $ inherit libtool gnome.org flag-o-matic eutils @@ -68,12 +68,12 @@ src_install() { pkg_postinst() { # need an XML catalog, so no-one writes to a non-existent one - CATALOG=/etc/xml/catalog + CATALOG="${ROOT}/etc/xml/catalog" # we dont want to clobber an existing catalog though, # only ensure that one is there # <obz@gentoo.org> if [ ! -e ${CATALOG} ]; then - [ -d /etc/xml ] || mkdir /etc/xml + [ -d "${ROOT}/etc/xml" ] || mkdir -p "${ROOT}/etc/xml" /usr/bin/xmlcatalog --create > ${CATALOG} einfo "Created XML catalog in ${CATALOG}" fi |