summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Goodyear <g2boojum@gentoo.org>2002-06-10 15:02:54 +0000
committerGrant Goodyear <g2boojum@gentoo.org>2002-06-10 15:02:54 +0000
commit8b926d61f118590676e52673ec115c064019892c (patch)
treefbe411c81c2f3350fec7de25e3afeb1e4eb2e1ba /app-doc
parentyey. new 2.0.0 versions (diff)
downloadgentoo-2-8b926d61f118590676e52673ec115c064019892c.tar.gz
gentoo-2-8b926d61f118590676e52673ec115c064019892c.tar.bz2
gentoo-2-8b926d61f118590676e52673ec115c064019892c.zip
If the dynamic genpkgxml script fails, substitute an older version.
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/gentoo-web/gentoo-web-2.2.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/app-doc/gentoo-web/gentoo-web-2.2.ebuild b/app-doc/gentoo-web/gentoo-web-2.2.ebuild
index a93a7eb5ad3c..df78340d4892 100644
--- a/app-doc/gentoo-web/gentoo-web-2.2.ebuild
+++ b/app-doc/gentoo-web/gentoo-web-2.2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2001 Gentoo Technologies, Inc. Distributed under the terms
# of the GNU General Public License, v2 or later
# Author: Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/app-doc/gentoo-web/gentoo-web-2.2.ebuild,v 1.60 2002/06/06 00:01:17 meekrob Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/gentoo-web/gentoo-web-2.2.ebuild,v 1.61 2002/06/10 15:02:54 g2boojum Exp $
# WARNING: THIS EBUILD SHOULD BE EDITED BY DANIEL ROBBINS ONLY
@@ -142,7 +142,8 @@ src_install() {
xsltproc $TEMPLATE xml/main-articles.xml > ${D}${WEBROOT}/index-articles.html || die
xsltproc $TEMPLATE xml/main-contract.xml > ${D}${WEBROOT}/index-contract.html || die
xsltproc $TEMPLATE xml/main-graphics.xml > ${D}${WEBROOT}/index-graphics.html || die
- python python/genpkgxml.py ${T}/main-packages.xml || die
+ python python/genpkgxml.py ${T}/main-packages.xml \
+ || cp xml/main-packages.xml ${T} || die
xsltproc $TEMPLATE ${T}/main-packages.xml > ${D}${WEBROOT}/index-packages.html || die
xsltproc $TEMPLATE xml/main-devlist.xml > ${D}${WEBROOT}/index-devlist.html || die
doins css/main-new.css css/resume.css