New package xchat-ruby - An X-Chat plugin providing scripting functionality
with Ruby.
This commit is contained in:
parent
0471251520
commit
b4031ca48b
5 changed files with 113 additions and 0 deletions
11
xchat-ruby-global-rubyenv.patch
Normal file
11
xchat-ruby-global-rubyenv.patch
Normal 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|
|
||||
Loading…
Add table
Add a link
Reference in a new issue