From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RJ8kb-00067B-8B for garchives@archives.gentoo.org; Wed, 26 Oct 2011 19:02:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EFBFD21C29A; Wed, 26 Oct 2011 19:02:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C1A7C21C29A for ; Wed, 26 Oct 2011 19:02:44 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 446591B4021 for ; Wed, 26 Oct 2011 19:02:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id AE59080042 for ; Wed, 26 Oct 2011 19:02:43 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <8a547fbc39c6c16ff8b758e041e92cc8e66eb11a.alexxy@gentoo> Subject: [gentoo-commits] dev/alexxy:master commit in: eclass/ X-VCS-Repository: dev/alexxy X-VCS-Files: eclass/gosa-plugin.eclass X-VCS-Directories: eclass/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: 8a547fbc39c6c16ff8b758e041e92cc8e66eb11a Date: Wed, 26 Oct 2011 19:02:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 527f0a2df619d8c061ad0b8ece501c5d commit: 8a547fbc39c6c16ff8b758e041e92cc8e66eb11a Author: Alexey Shvetsov gentoo org> AuthorDate: Wed Oct 26 19:00:30 2011 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Wed Oct 26 19:00:30 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/alexxy.git;a=3D= commit;h=3D8a547fbc update gosa-plugin eclass --- eclass/gosa-plugin.eclass | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/eclass/gosa-plugin.eclass b/eclass/gosa-plugin.eclass index 662397c..22bad61 100644 --- a/eclass/gosa-plugin.eclass +++ b/eclass/gosa-plugin.eclass @@ -37,6 +37,12 @@ GOSA_COMPONENT=3D"${PN/gosa-plugin-}" # @DESCRIPTION: # Default src_install function for gosa-plugins gosa-plugin_src_install() { + + if [ -d etc ]; then + insinto /etc/gosa + doins -r etc/* + fi + insinto /usr/share/gosa/html/plugins/${GOSA_COMPONENT}/ doins -r html/* =20 @@ -44,12 +50,21 @@ gosa-plugin_src_install() { doins -r locale/* =20 insinto /usr/share/gosa/plugins - doins -r admin personal + doins -r admin + if [ -d personal ]; then + doins -r personal + fi + if [ -d addons ]; then + doins -r addons + fi =20 insinto /usr/share/gosa/doc/plugins/${GOSA_COMPONENT}/ doins -r help/* =20 - dodoc contrib/* + if [ -d contrib ]; then + dodoc contrib/* + insinto /usr/share/doc/${PF} + fi } =20 # @FUNCTION: gosa-plugin_pkg_postinst()