New package xchat-ruby - An X-Chat plugin providing scripting functionality

with Ruby.
This commit is contained in:
konradm 2007-12-01 07:42:48 +00:00
commit b4031ca48b
5 changed files with 113 additions and 0 deletions

View file

@ -0,0 +1,11 @@
diff -ur xchat-ruby-1.2-src/src/xchat-ruby-plugin.rb xchat-ruby-1.2-src-patched/src/xchat-ruby-plugin.rb
--- xchat-ruby-1.2-src/src/xchat-ruby-plugin.rb 2007-04-26 04:16:32.000000000 -0700
+++ xchat-ruby-1.2-src-patched/src/xchat-ruby-plugin.rb 2007-11-17 20:06:25.000000000 -0800
@@ -416,6 +416,7 @@
def XChatRubyEnvironment.initialize_ruby_environment
envfile = get_info( "xchatdir" ) + "/rubyenv"
+ envfile = "/etc/xchat-rubyenv" if not File.exist? envfile
begin
File.open( envfile, "r" ) do |file|
file.each do |line|