diff options
author | Ulrich Müller <ulm@gentoo.org> | 2008-09-13 15:39:24 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2008-09-13 15:39:24 +0000 |
commit | 70c9ed3bd2ae2af73f59d3c2d10c98ffa8efedc0 (patch) | |
tree | 796f2552a0ca60041cff510f5c108119adce492f /eclass/elisp-common.eclass | |
parent | Be less verbose, bug 237546. (diff) | |
download | emacs-70c9ed3bd2ae2af73f59d3c2d10c98ffa8efedc0.tar.gz emacs-70c9ed3bd2ae2af73f59d3c2d10c98ffa8efedc0.tar.bz2 emacs-70c9ed3bd2ae2af73f59d3c2d10c98ffa8efedc0.zip |
Silence it even more.
svn path=/emacs-overlay/; revision=1155
Diffstat (limited to 'eclass/elisp-common.eclass')
-rw-r--r-- | eclass/elisp-common.eclass | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index 4119d84..bfd49a3 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -306,7 +306,7 @@ elisp-site-file-install() { # when generating the start-up file. elisp-site-regen() { - local i sf line obsolete + local i sf line firstrun obsolete local -a sflist # Work around Paludis borkage: variable T is empty in pkg_postrm local tmpdir=${T:-$(mktemp -d)} @@ -316,8 +316,9 @@ elisp-site-regen() { return 1 fi - if [ ! -e "${ROOT}${SITELISP}"/site-gentoo.el ] \ - && [ ! -e "${ROOT}${SITELISP}"/site-start.el ]; then + [ -e "${ROOT}${SITELISP}"/site-gentoo.el ] || firstrun=t + + if [ "${firstrun}" ] && [ ! -e "${ROOT}${SITELISP}"/site-start.el ]; then einfo "Creating default ${SITELISP}/site-start.el ..." cat <<-EOF >"${tmpdir}"/site-start.el ;;; site-start.el @@ -397,8 +398,10 @@ elisp-site-regen() { #done #einfo "Regenerated ${SITELISP}/site-gentoo.el." einfo "... ${#sflist[@]} site initialisation file(s) included." - echo + fi + + if [ "${firstrun}" ]; then while read line; do einfo "${line:- }"; done <<-EOF All site initialisation for Gentoo-installed packages is added to /usr/share/emacs/site-lisp/site-gentoo.el; site-start.el is not |