summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2013-09-29 08:49:53 +0000
committerPacho Ramos <pacho@gentoo.org>2013-09-29 08:49:53 +0000
commit834b82bac6dbe56cfe6ad1df535b6db510f119d6 (patch)
treec7da78bcd8d26d57cb7e3a6eacd79d6a40a59327 /eclass/gnome2.eclass
parentStable for ppc64, wrt bug #483212 (diff)
downloadgentoo-2-834b82bac6dbe56cfe6ad1df535b6db510f119d6.tar.gz
gentoo-2-834b82bac6dbe56cfe6ad1df535b6db510f119d6.tar.bz2
gentoo-2-834b82bac6dbe56cfe6ad1df535b6db510f119d6.zip
Use einstalldocs (#484876)
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r--eclass/gnome2.eclass14
1 files changed, 2 insertions, 12 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 27d68a52f97d..40b536e501ef 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.123 2013/09/03 21:54:38 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.124 2013/09/29 08:49:53 pacho Exp $
# @ECLASS: gnome2.eclass
# @MAINTAINER:
@@ -208,17 +208,7 @@ gnome2_src_install() {
dodoc ${DOCS} || die "dodoc failed"
fi
else
- if ! declare -p DOCS >/dev/null 2>&1 ; then
- local d
- for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \
- FAQ CREDITS CHANGELOG ; do
- [[ -s "${d}" ]] && dodoc "${d}"
- done
- elif declare -p DOCS | grep -q '^declare -a' ; then
- dodoc "${DOCS[@]}"
- else
- dodoc ${DOCS}
- fi
+ einstalldocs
fi
# Do not keep /var/lib/scrollkeeper because: