diff options
author | Grant Goodyear <g2boojum@gentoo.org> | 2002-06-10 15:02:54 +0000 |
---|---|---|
committer | Grant Goodyear <g2boojum@gentoo.org> | 2002-06-10 15:02:54 +0000 |
commit | 4781b648b0825dca92f3617292abadd79b792b5d (patch) | |
tree | e2350ec0558fb5e394f9b2dc4457ff7f206aa569 /app-doc | |
parent | yey. new 2.0.0 versions (diff) | |
download | historical-4781b648b0825dca92f3617292abadd79b792b5d.tar.gz historical-4781b648b0825dca92f3617292abadd79b792b5d.tar.bz2 historical-4781b648b0825dca92f3617292abadd79b792b5d.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.ebuild | 5 |
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 |