summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-03-04 17:43:51 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-03-04 17:43:51 +0000
commitcbe775e48f56a8ad301980d942e0f86564b10839 (patch)
tree48990b705e6d2c7098252fd7d1f7da1e9ede2d9a /eclass
parentAdd ~alpha keyword, bug #124960. Reported by Thomas Cort <tcort@cs.ubishops.ca> (diff)
downloadhistorical-cbe775e48f56a8ad301980d942e0f86564b10839.tar.gz
historical-cbe775e48f56a8ad301980d942e0f86564b10839.tar.bz2
historical-cbe775e48f56a8ad301980d942e0f86564b10839.zip
display a notice about the config-file if the plugin has one
Diffstat (limited to 'eclass')
-rw-r--r--eclass/vdr-plugin.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/vdr-plugin.eclass b/eclass/vdr-plugin.eclass
index f87fbbe03213..3da72f9ae3cb 100644
--- a/eclass/vdr-plugin.eclass
+++ b/eclass/vdr-plugin.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.12 2006/02/03 21:18:52 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.13 2006/03/04 17:43:51 zzam Exp $
#
# Author:
# Matthias Schwarzott <zzam@gentoo.org>
@@ -183,6 +183,7 @@ vdr-plugin_src_install() {
if [[ -f "${f}" ]]; then
insinto /etc/conf.d
newins "${f}" vdr.${VDRPLUGIN}
+ VDR_PLUGIN_CONFIG_FILE_INSTALLED=1
break
fi
done
@@ -204,6 +205,11 @@ vdr-plugin_pkg_postinst() {
einfo
einfo " emerge --config ${PN}"
einfo
+ if [[ -n "${VDR_PLUGIN_CONFIG_FILE_INSTALLED}" ]]; then
+ einfo "And have a look at the config-file"
+ einfo "/etc/conf.d/vdr.${VDRPLUGIN}"
+ einfo
+ fi
}
vdr-plugin_pkg_postrm() {