From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 58A0C13829B for ; Sun, 29 May 2016 19:31:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95FB214243; Sun, 29 May 2016 19:31:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4479614243 for ; Sun, 29 May 2016 19:31:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4F28F340A9C for ; Sun, 29 May 2016 19:31:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 357B0983 for ; Sun, 29 May 2016 19:31:00 +0000 (UTC) From: "Joerg Bornkessel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joerg Bornkessel" Message-ID: <1464550246.abd0e06a7fa7db8eb6847771c37f40a26f8c90e0.hd_brummy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/vdr-plugin-2.eclass X-VCS-Directories: eclass/ X-VCS-Committer: hd_brummy X-VCS-Committer-Name: Joerg Bornkessel X-VCS-Revision: abd0e06a7fa7db8eb6847771c37f40a26f8c90e0 X-VCS-Branch: master Date: Sun, 29 May 2016 19:31:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1b7b204f-15fa-4d8b-841b-292d47c18bb0 X-Archives-Hash: 1735f77ed10d62c3d4709a0ba63f7728 commit: abd0e06a7fa7db8eb6847771c37f40a26f8c90e0 Author: Joerg Bornkessel gentoo org> AuthorDate: Sun May 29 19:28:18 2016 +0000 Commit: Joerg Bornkessel gentoo org> CommitDate: Sun May 29 19:30:46 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abd0e06a vdr-plugin-2.eclass: fixed docs install for eapi=6 eclass/vdr-plugin-2.eclass | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/eclass/vdr-plugin-2.eclass b/eclass/vdr-plugin-2.eclass index d65f624..48106d2 100644 --- a/eclass/vdr-plugin-2.eclass +++ b/eclass/vdr-plugin-2.eclass @@ -612,15 +612,14 @@ vdr-plugin-2_src_install() { create_header_checksum_file ${vdr_plugin_list} create_plugindb_file ${vdr_plugin_list} - local commondoc=( README* HISTORY CHANGELOG ) - for docfile in "${commondoc[@]}"; do - if [[ ${EAPI} == "6" ]]; then - local DOCS="${DOCS} ${docfile}" - [[ -f ${docfile} ]] && einstalldocs "${DOCS[@]}" - else - [[ -f ${docfile} ]] && dodoc ${docfile} - fi - done + if [[ ${EAPI} != [45] ]]; then + einstalldocs + else + local docfile + for docfile in README* HISTORY CHANGELOG; do + [[ -f ${docfile} ]] && dodoc ${docfile} + done + fi # if VDR_CONFD_FILE is empty and ${FILESDIR}/confd exists take it [[ -z ${VDR_CONFD_FILE} ]] && [[ -e ${FILESDIR}/confd ]] && VDR_CONFD_FILE=${FILESDIR}/confd