commit:     9b769e26cad727078b46efa9404f5b20d60e5fdf
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 15 07:32:54 2014 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Mar 15 07:32:54 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/emacs.git;a=commit;h=9b769e26

Merge changes from emacs-vcs.

Package-Manager: portage-2.2.8-r1

---
 app-editors/emacs-xwidget/emacs-xwidget-24.3.9999.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-editors/emacs-xwidget/emacs-xwidget-24.3.9999.ebuild 
b/app-editors/emacs-xwidget/emacs-xwidget-24.3.9999.ebuild
index ffe8915..40e6eaa 100644
--- a/app-editors/emacs-xwidget/emacs-xwidget-24.3.9999.ebuild
+++ b/app-editors/emacs-xwidget/emacs-xwidget-24.3.9999.ebuild
@@ -365,6 +365,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

Reply via email to