diff options
author | Ulrich Müller <ulm@gentoo.org> | 2013-10-31 15:56:14 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2013-10-31 15:56:14 +0100 |
commit | a5b462bd12ae7e6b517155e49ed90ec267722c4c (patch) | |
tree | da2cbd0258438007c94113e0b9f7cde4024cf61e /app-emacs | |
parent | app-xemacs/cc-mode: Upstream experimental version bump (diff) | |
download | emacs-a5b462bd12ae7e6b517155e49ed90ec267722c4c.tar.gz emacs-a5b462bd12ae7e6b517155e49ed90ec267722c4c.tar.bz2 emacs-a5b462bd12ae7e6b517155e49ed90ec267722c4c.zip |
Create site-gentoo.el in preinst phase and have it belong to this package.
Package-Manager: portage-2.2.7
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/emacs-common-gentoo/ChangeLog | 3 | ||||
-rw-r--r-- | app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild | 7 |
2 files changed, 7 insertions, 3 deletions
diff --git a/app-emacs/emacs-common-gentoo/ChangeLog b/app-emacs/emacs-common-gentoo/ChangeLog index 0f2d01a..f75d40d 100644 --- a/app-emacs/emacs-common-gentoo/ChangeLog +++ b/app-emacs/emacs-common-gentoo/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 31 Oct 2013; Ulrich Müller <ulm@gentoo.org> emacs-common-gentoo-9999.ebuild: + Create site-gentoo.el in preinst phase and have it belong to this package. + 10 Oct 2013; Ulrich Müller <ulm@gentoo.org> emacs-common-gentoo-9999.ebuild: Migrate to git-r3.eclass. diff --git a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild index 1a49fd2..39dabf4 100644 --- a/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild +++ b/app-emacs/emacs-common-gentoo/emacs-common-gentoo-9999.ebuild @@ -92,6 +92,10 @@ site-start-modified-p() { } pkg_preinst() { + # make sure that site-gentoo.el exists since site-start.el requires it + elisp-site-regen + cp "${EROOT}${SITELISP}/site-gentoo.el" "${ED}${SITELISP}/" || die + if use games; then local f for f in /var/lib/games/emacs/{snake,tetris}-scores; do @@ -110,9 +114,6 @@ pkg_postinst() { gnome2_icon_cache_update fi - # make sure that site-gentoo.el exists since site-start.el requires it - elisp-site-regen - readme.gentoo_print_elog if [[ -e ${EROOT}${SITELISP}/site-start.el ]]; then |