From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AE0A01391DB for ; Sat, 15 Mar 2014 07:26:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3C89E0AB0; Sat, 15 Mar 2014 07:26:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3F372E0AB0 for ; Sat, 15 Mar 2014 07:26:55 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 47C7833FAD5 for ; Sat, 15 Mar 2014 07:26:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id F0F2518875 for ; Sat, 15 Mar 2014 07:26:52 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1394868718.82b2cc278b816b354947e3c80d749974c6d0d294.ulm@gentoo> Subject: [gentoo-commits] proj/emacs:master commit in: app-editors/emacs-vcs/ X-VCS-Repository: proj/emacs X-VCS-Files: app-editors/emacs-vcs/emacs-vcs-24.3.9999.ebuild X-VCS-Directories: app-editors/emacs-vcs/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 82b2cc278b816b354947e3c80d749974c6d0d294 X-VCS-Branch: master Date: Sat, 15 Mar 2014 07:26:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f7c9c2d2-3afc-4c44-9304-f9d2ce14f293 X-Archives-Hash: 53428608db6b48a0d79845022866c39a commit: 82b2cc278b816b354947e3c80d749974c6d0d294 Author: Ulrich Müller gentoo org> AuthorDate: Sat Mar 15 07:31:58 2014 +0000 Commit: Ulrich Müller gentoo 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