summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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'