summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-05-22 01:27:31 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-05-22 01:27:31 +0000
commitabac6d19abe77f0db1acf1f11143ef86499f4c3e (patch)
treeef1e746f9df5dd7715a5de11b7e1c807706a32d1 /media-sound/rubyripper/files/rubyripper-0.4.4-editor-environment.patch
parentVersion bump for kernel 2.6.29. (diff)
downloadgentoo-2-abac6d19abe77f0db1acf1f11143ef86499f4c3e.tar.gz
gentoo-2-abac6d19abe77f0db1acf1f11143ef86499f4c3e.tar.bz2
gentoo-2-abac6d19abe77f0db1acf1f11143ef86499f4c3e.zip
old
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/rubyripper/files/rubyripper-0.4.4-editor-environment.patch')
-rw-r--r--media-sound/rubyripper/files/rubyripper-0.4.4-editor-environment.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/media-sound/rubyripper/files/rubyripper-0.4.4-editor-environment.patch b/media-sound/rubyripper/files/rubyripper-0.4.4-editor-environment.patch
deleted file mode 100644
index 2f1b70f7cdd5..000000000000
--- a/media-sound/rubyripper/files/rubyripper-0.4.4-editor-environment.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Check if the EDITOR environment variable is set, in which case use
-
-From: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>
-
-that rather than trying to find the default editor almost randomly.
----
-
- rubyripper_gtk2.rb | 3 ++-
- 1 files changed, 2 insertions(+), 1 deletions(-)
-
-diff --git a/rubyripper_gtk2.rb b/rubyripper_gtk2.rb
-index a12c0ff..4492094 100755
---- a/rubyripper_gtk2.rb
-+++ b/rubyripper_gtk2.rb
-@@ -35,7 +35,8 @@ def filemanager #look for default filemanager
- end
-
- def editor # look for default editor
-- if installed('mousepad') : return 'mousepad' #Xfce4 editor
-+ if ENV['EDITOR'] : return ENV['EDITOR'] # User's setting
-+ elsif installed('mousepad') : return 'mousepad' #Xfce4 editor
- elsif installed('kwrite') : return 'kwrite' #Kde editor
- elsif installed('gedit') : return 'gedit' #Gnome editor
- else puts "No editor found. Please tell the developer which editor you use!" ; return 'unknown'