]> projects.mako.cc - selectricity/blob - vendor/plugins/attachment_fu/install.rb
fixed a large number of bugs in the software (see wiki) over a days work
[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?