diff options
author | Ulrich Müller <ulm@gentoo.org> | 2014-03-15 08:32:54 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2014-03-15 08:32:54 +0100 |
commit | 9b769e26cad727078b46efa9404f5b20d60e5fdf (patch) | |
tree | 851e1c0bbbd3b6e5f99930bf4a998a5926b9d9fb /app-editors | |
parent | Call eselect in postinst phase if this is the selected version. (diff) | |
download | emacs-9b769e26cad727078b46efa9404f5b20d60e5fdf.tar.gz emacs-9b769e26cad727078b46efa9404f5b20d60e5fdf.tar.bz2 emacs-9b769e26cad727078b46efa9404f5b20d60e5fdf.zip |
Merge changes from emacs-vcs.
Package-Manager: portage-2.2.8-r1
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/emacs-xwidget/emacs-xwidget-24.3.9999.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
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 |