From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Si7hV-0003Tf-P2 for garchives@archives.gentoo.org; Fri, 22 Jun 2012 17:31:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C3A54E09D8; Fri, 22 Jun 2012 17:29:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9307AE08DA for ; Fri, 22 Jun 2012 17:29:25 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 355BD1B4011 for ; Fri, 22 Jun 2012 17:29:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 9ADF4E5438 for ; Fri, 22 Jun 2012 17:29:22 +0000 (UTC) From: "Ulrich Mueller" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Mueller" Message-ID: <1181115218.010c4f3814eded6c9742fed765ce92565634f502.ulm@gentoo> Subject: [gentoo-commits] proj/emacs-tools:eselect-emacs-1.1 commit in: / X-VCS-Repository: proj/emacs-tools X-VCS-Files: emacs.eselect X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Mueller X-VCS-Revision: 010c4f3814eded6c9742fed765ce92565634f502 X-VCS-Branch: eselect-emacs-1.1 Date: Fri, 22 Jun 2012 17:29:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: bc5e1ed7-b164-41b0-80bc-f24b811756ed X-Archives-Hash: 4911ba8e7da995adca66e1ee85f169d2 commit: 010c4f3814eded6c9742fed765ce92565634f502 Author: Ulrich M=C3=BCller gentoo org> AuthorDate: Wed Jun 6 07:33:38 2007 +0000 Commit: Ulrich Mueller gentoo org> CommitDate: Wed Jun 6 07:33:38 2007 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/emacs-tools.g= it;a=3Dcommit;h=3D010c4f38 Add a comment. svn path=3D/emacs-extra/eselect-emacs/; revision=3D370 --- emacs.eselect | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/emacs.eselect b/emacs.eselect index 6443de4..13349b2 100644 --- a/emacs.eselect +++ b/emacs.eselect @@ -8,7 +8,7 @@ # * show do_show() # * list do_list() # * set do_set() -# * update do_update() +# * update do_update() # # Behaviour: # do_show(): @@ -233,6 +233,8 @@ do_update() { if [[ -L "${ROOT}/usr/bin/emacs" ]]; then [[ ${1} =3D=3D "--if-unset" \ && -e "$(canonicalise ${ROOT}/usr/bin/emacs)" ]] && return + # this is not redundant: "update" is called in pkg_postrm() of emacs + # and should clean up any dead symlinks if no valid target exists remove_symlinks || die -q "Couldn't remove existing symlink" elif [[ -e "${ROOT}/usr/bin/emacs" ]]; then die -q "Sorry, ${ROOT}/usr/bin/emacs exists but is not a symlink"