public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1030 commit in: /
Date: Sun,  6 May 2012 16:07:05 +0000 (UTC)	[thread overview]
Message-ID: <1175074040.911dc4f105485bf5778f1cd1a52ad4e1221abbda.sping@gentoo> (raw)

commit:     911dc4f105485bf5778f1cd1a52ad4e1221abbda
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 28 09:27:20 2007 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Wed Mar 28 09:27:20 2007 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/emacs-tools.git;a=commit;h=911dc4f1

Redundant remove_symlinks removed.

svn path=/emacs-extra/eselect-emacs/; revision=181

---
 ChangeLog     |    2 ++
 emacs.eselect |    3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 44474dd..14aeecf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -52,3 +52,5 @@ Version 0.5 (24 Mar 2007)
 	Brought do_set and do_update more in line.
 	Check for root in do_set and do_update.
 	env.eselect seems to be buggy; use env-update instead.
+	Redundant remove_symlinks removed.
+Version 0.6 (28 Mar 2007)

diff --git a/emacs.eselect b/emacs.eselect
index 3f6d7af..544bba7 100644
--- a/emacs.eselect
+++ b/emacs.eselect
@@ -184,7 +184,7 @@ do_set() {
 	[[ -w "${ROOT}/usr/bin" ]] || die -q "You need to be root!"
 
 	if [[ -L "${ROOT}/usr/bin/emacs" ]]; then
-		remove_symlinks || die -q "Couldn't remove existing symlink"
+		true
 	elif [[ -e "${ROOT}/usr/bin/emacs" ]]; then
 		die -q "Sorry, ${ROOT}/usr/bin/emacs confuses me"
 	fi
@@ -210,7 +210,6 @@ do_update() {
 	if [[ -L "${ROOT}/usr/bin/emacs" ]]; then
 		[[ ${1} == "--if-unset" \
 			&& -e "$(canonicalise ${ROOT}/usr/bin/emacs)" ]] && return
-		remove_symlinks || die -q "Couldn't remove existing symlink"
 	elif [[ -e "${ROOT}/usr/bin/emacs" ]]; then
 		die -q "Sorry, ${ROOT}/usr/bin/emacs confuses me"
 	fi



WARNING: multiple messages have this Message-ID (diff)
From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1233 commit in: /
Date: Sun,  6 May 2012 16:07:10 +0000 (UTC)	[thread overview]
Message-ID: <1175074040.911dc4f105485bf5778f1cd1a52ad4e1221abbda.sping@gentoo> (raw)
Message-ID: <20120506160710._s71I-mktQ--ZpCvs9LWLITmxit996ATiWmrrGMf4zU@z> (raw)

commit:     911dc4f105485bf5778f1cd1a52ad4e1221abbda
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 28 09:27:20 2007 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Wed Mar 28 09:27:20 2007 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/emacs-tools.git;a=commit;h=911dc4f1

Redundant remove_symlinks removed.

svn path=/emacs-extra/eselect-emacs/; revision=181

---
 ChangeLog     |    2 ++
 emacs.eselect |    3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 44474dd..14aeecf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -52,3 +52,5 @@ Version 0.5 (24 Mar 2007)
 	Brought do_set and do_update more in line.
 	Check for root in do_set and do_update.
 	env.eselect seems to be buggy; use env-update instead.
+	Redundant remove_symlinks removed.
+Version 0.6 (28 Mar 2007)

diff --git a/emacs.eselect b/emacs.eselect
index 3f6d7af..544bba7 100644
--- a/emacs.eselect
+++ b/emacs.eselect
@@ -184,7 +184,7 @@ do_set() {
 	[[ -w "${ROOT}/usr/bin" ]] || die -q "You need to be root!"
 
 	if [[ -L "${ROOT}/usr/bin/emacs" ]]; then
-		remove_symlinks || die -q "Couldn't remove existing symlink"
+		true
 	elif [[ -e "${ROOT}/usr/bin/emacs" ]]; then
 		die -q "Sorry, ${ROOT}/usr/bin/emacs confuses me"
 	fi
@@ -210,7 +210,6 @@ do_update() {
 	if [[ -L "${ROOT}/usr/bin/emacs" ]]; then
 		[[ ${1} == "--if-unset" \
 			&& -e "$(canonicalise ${ROOT}/usr/bin/emacs)" ]] && return
-		remove_symlinks || die -q "Couldn't remove existing symlink"
 	elif [[ -e "${ROOT}/usr/bin/emacs" ]]; then
 		die -q "Sorry, ${ROOT}/usr/bin/emacs confuses me"
 	fi



             reply	other threads:[~2012-05-06 16:18 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-06 16:07 Sebastian Pipping [this message]
2012-05-06 16:07 ` [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1233 commit in: / Sebastian Pipping
  -- strict thread matches above, loose matches on Subject: below --
2012-05-06 16:07 Sebastian Pipping
2012-05-06 16:07 ` [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1030 " Sebastian Pipping
2012-05-06 16:07 [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1233 " Sebastian Pipping
2012-05-06 16:07 ` [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1030 " Sebastian Pipping
2012-05-06 16:07 [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1233 " Sebastian Pipping
2012-05-06 16:07 ` [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1030 " Sebastian Pipping
2012-05-06 16:07 [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1233 " Sebastian Pipping
2012-05-06 16:07 ` [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1030 " Sebastian Pipping
2012-05-06 16:07 [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1233 " Sebastian Pipping
2012-05-06 16:07 ` [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1030 " Sebastian Pipping
2012-05-06 16:07 [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1233 " Sebastian Pipping
2012-05-06 16:07 ` [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1030 " Sebastian Pipping
2012-05-06 16:07 [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1233 " Sebastian Pipping
2012-05-06 16:07 ` [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1030 " Sebastian Pipping
2012-05-06 16:07 [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1233 " Sebastian Pipping
2012-05-06 16:07 ` [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1030 " Sebastian Pipping
2012-05-06 16:07 [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1233 " Sebastian Pipping
2012-05-06 16:07 ` [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1030 " Sebastian Pipping
2012-05-06 16:07 Sebastian Pipping
2012-05-06 16:07 Sebastian Pipping
2012-05-06 16:07 Sebastian Pipping
2012-05-06 16:07 Sebastian Pipping
2012-05-06 16:07 Sebastian Pipping
2012-05-06 16:07 Sebastian Pipping
2012-05-06 16:07 Sebastian Pipping
2012-05-06 16:07 Sebastian Pipping
2012-05-06 16:07 Sebastian Pipping
2012-05-06 16:07 Sebastian Pipping
2012-05-06 16:07 Sebastian Pipping
2012-05-06 16:07 Sebastian Pipping
2012-05-06 16:07 Sebastian Pipping
2012-05-06 16:06 [gentoo-commits] proj/emacs-tools:emacs-common-gentoo " Sebastian Pipping
2012-05-06 16:07 ` [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1030 " Sebastian Pipping
2012-05-06 16:06 [gentoo-commits] proj/emacs-tools:emacs-common-gentoo " Sebastian Pipping
2012-05-06 16:07 ` [gentoo-commits] proj/emacs-tools:backups/emacs-common-gentoo@1030 " Sebastian Pipping

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1175074040.911dc4f105485bf5778f1cd1a52ad4e1221abbda.sping@gentoo \
    --to=sping@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox