summaryrefslogtreecommitdiff
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
commitddd800df33d87430993338d2cad53f9ec55d99ec (patch)
treee42d5a1287d346fd96ebe5fccd1220d70d5e9337 /eclass/vdr-plugin.eclass
parentAdd ~alpha keyword, bug #124960. Reported by Thomas Cort <tcort@cs.ubishops.ca> (diff)
downloadgentoo-2-ddd800df33d87430993338d2cad53f9ec55d99ec.tar.gz
gentoo-2-ddd800df33d87430993338d2cad53f9ec55d99ec.tar.bz2
gentoo-2-ddd800df33d87430993338d2cad53f9ec55d99ec.zip
display a notice about the config-file if the plugin has one
Diffstat (limited to 'eclass/vdr-plugin.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() {