summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2012-09-01 09:39:07 +0000
committerUlrich Müller <ulm@gentoo.org>2012-09-01 09:39:07 +0000
commitff0eb278235c0a24c2c715178b064f5b54977d19 (patch)
tree1446d0c801784bf22eb564641ec71133142160b2 /eclass
parentfixing maintainer in metadata (diff)
downloadhistorical-ff0eb278235c0a24c2c715178b064f5b54977d19.tar.gz
historical-ff0eb278235c0a24c2c715178b064f5b54977d19.tar.bz2
historical-ff0eb278235c0a24c2c715178b064f5b54977d19.zip
Suppress warning message in elisp-site-regen for initial installation.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/elisp-common.eclass5
2 files changed, 7 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 2f79b8622ec3..f8369b269e9d 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.384 2012/08/30 23:52:59 mpagano Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.385 2012/09/01 09:39:07 ulm Exp $
+
+ 01 Sep 2012; Ulrich Müller <ulm@gentoo.org> elisp-common.eclass:
+ Suppress warning message in elisp-site-regen for initial installation.
30 Aug 2012; Michael Pagano <mpagano@gentoo.org> linux-mod.eclass:
Minor typo fix to documentation line. Bug #419469
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass
index b74630b7df18..3aa9e3f6165b 100644
--- a/eclass/elisp-common.eclass
+++ b/eclass/elisp-common.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.81 2012/07/18 14:28:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.82 2012/09/01 09:39:07 ulm Exp $
#
# @ECLASS: elisp-common.eclass
# @MAINTAINER:
@@ -386,7 +386,8 @@ elisp-site-regen() {
mv "${T}"/site-gentoo.el "${sitelisp}"/site-gentoo.el
eend
case ${#sflist[@]} in
- 0) ewarn "... Huh? No site initialisation files found." ;;
+ 0) [[ ${PN} = emacs-common-gentoo ]] \
+ || ewarn "... Huh? No site initialisation files found." ;;
1) einfo "... ${#sflist[@]} site initialisation file included." ;;
*) einfo "... ${#sflist[@]} site initialisation files included." ;;
esac