commit: 82b2cc278b816b354947e3c80d749974c6d0d294
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 15 07:31:58 2014 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Mar 15 07:31:58 2014 +0000
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=82b2cc27
Call eselect in postinst phase if this is the selected version.
Package-Manager: portage-2.2.8-r1
---
app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild
b/app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild
index 1c1fa09..5f6b179 100644
--- a/app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild
@@ -350,6 +350,9 @@ pkg_postinst() {
# force an update of the emacs symlink for the livecd/dvd,
# because some microemacs packages set it with USE=livecd
eselect emacs update
+ elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
+ # refresh symlinks in case any installed files have changed
+ eselect emacs set ${EMACS_SUFFIX}
else
eselect emacs update ifunset
fi