Sophie

Sophie

distrib > Fedora > 16 > x86_64 > media > updates-src > by-pkgid > 815fa00a9c4265aa460b463bbcda1606 > files > 4

xchat-ruby-1.2-11.fc16.src.rpm

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|