From: "Alexey Shvetsov" <alexxy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/alexxy:master commit in: eclass/
Date: Wed, 26 Oct 2011 19:02:43 +0000 (UTC) [thread overview]
Message-ID: <8a547fbc39c6c16ff8b758e041e92cc8e66eb11a.alexxy@gentoo> (raw)
commit: 8a547fbc39c6c16ff8b758e041e92cc8e66eb11a
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 26 19:00:30 2011 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Wed Oct 26 19:00:30 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/alexxy.git;a=commit;h=8a547fbc
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="${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/*
@@ -44,12 +50,21 @@ gosa-plugin_src_install() {
doins -r locale/*
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
insinto /usr/share/gosa/doc/plugins/${GOSA_COMPONENT}/
doins -r help/*
- dodoc contrib/*
+ if [ -d contrib ]; then
+ dodoc contrib/*
+ insinto /usr/share/doc/${PF}
+ fi
}
# @FUNCTION: gosa-plugin_pkg_postinst()
next reply other threads:[~2011-10-26 19:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-26 19:02 Alexey Shvetsov [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-10-26 19:04 [gentoo-commits] dev/alexxy:master commit in: eclass/ Alexey Shvetsov
2011-10-26 19:08 Alexey Shvetsov
2011-10-27 11:01 Alexey Shvetsov
2011-10-28 10:55 Alexey Shvetsov
2011-10-28 10:57 Alexey Shvetsov
2011-11-09 20:14 Alexey Shvetsov
2011-11-09 20:15 Alexey Shvetsov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8a547fbc39c6c16ff8b758e041e92cc8e66eb11a.alexxy@gentoo \
--to=alexxy@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox