bin/kafofy in kafo-0.2.2 vs bin/kafofy in kafo-0.3.0
- old
+ new
@@ -22,10 +22,10 @@
content = <<EOS
#!/usr/bin/env ruby
require 'rubygems'
require 'kafo'
CONFIG_FILE = "/etc/#{name}/#{name}.yaml"
-result = KafoConfigure.run
+result = Kafo::KafoConfigure.run
exit result.nil? ? 0 : result.exit_code
EOS
File.open(script_name, 'w') { |file| file.write(content) }
FileUtils.chmod 0755, script_name
end