summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2008-07-04 08:49:24 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2008-07-04 08:49:24 +0000
commit7f1b8139b9822c227bd0c58a4431e06fd8dcea9e (patch)
treea417497787049a14ac6cf76f0f2283a21192b3ff /app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79.ebuild
parentVersion bump (#228055) (diff)
downloadhistorical-7f1b8139b9822c227bd0c58a4431e06fd8dcea9e.tar.gz
historical-7f1b8139b9822c227bd0c58a4431e06fd8dcea9e.tar.bz2
historical-7f1b8139b9822c227bd0c58a4431e06fd8dcea9e.zip
fix src_install logic, bug #224231. Fix repoman warnings.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 i686
Diffstat (limited to 'app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79.ebuild')
-rw-r--r--app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79.ebuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79.ebuild b/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79.ebuild
index eb568e384a2d..70883a8deb35 100644
--- a/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79.ebuild
+++ b/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79.ebuild,v 1.19 2008/01/19 14:49:45 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.79.ebuild,v 1.20 2008/07/04 08:49:24 eva Exp $
inherit sgml-catalog
@@ -24,8 +24,8 @@ sgml-catalog_cat_include "/etc/sgml/sgml-docbook.cat" \
src_unpack() {
unpack ${A}
- cd ${S}
- cp ${FILESDIR}/${PN}-1.77.Makefile Makefile
+ cd "${S}"
+ cp "${FILESDIR}/${PN}-1.77.Makefile" Makefile
}
src_compile() {
@@ -47,11 +47,10 @@ src_install() {
ewarn "/usr/share/sgml/docbook/dsssl-stylesheets-${PV}"
ewarn "as directory already exists there. Will assume you know"
ewarn "what you're doing."
- return 0
+ else
+ dosym /usr/share/sgml/docbook/dsssl-stylesheets-${PV} \
+ /usr/share/sgml/stylesheets/dsssl/docbook
fi
- dosym /usr/share/sgml/docbook/dsssl-stylesheets-${PV} \
- /usr/share/sgml/stylesheets/dsssl/docbook
-
dodoc BUGS ChangeLog README RELEASE-NOTES.txt WhatsNew
}