]> projects.mako.cc - selectricity/blob - vendor/plugins/attachment_fu/install.rb
Added some minor TODO's for increased user funcitonality. Change email, beautify...
[selectricity] / vendor / plugins / attachment_fu / install.rb
1 require 'fileutils'
2
3 s3_config = File.dirname(__FILE__) + '/../../../config/amazon_s3.yml'
4 FileUtils.cp File.dirname(__FILE__) + '/amazon_s3.yml.tpl', s3_config unless File.exist?(s3_config)
5 cloudfiles_config = File.dirname(__FILE__) + '/../../../config/rackspace_cloudfiles.yml'
6 FileUtils.cp File.dirname(__FILE__) + '/rackspace_cloudfiles.yml.tpl', cloudfiles_config unless File.exist?(cloudfiles_config)
7 puts IO.read(File.join(File.dirname(__FILE__), 'README'))

Benjamin Mako Hill || Want to submit a patch?