Skip to content
Browse files

Install the rackspace_cloudfiles.yml template if it doesn't exist.

  • Loading branch information...
1 parent 979ceb9 commit 8580c4e4a1f14e839e21262270702e01dca79f95 @minter minter committed Apr 2, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 install.rb
View
2 install.rb
@@ -2,4 +2,6 @@
s3_config = File.dirname(__FILE__) + '/../../../config/amazon_s3.yml'
FileUtils.cp File.dirname(__FILE__) + '/amazon_s3.yml.tpl', s3_config unless File.exist?(s3_config)
+cloudfiles_config = File.dirname(__FILE__) + '/../../../config/rackspace_cloudfiles.yml'
+FileUtils.cp File.dirname(__FILE__) + '/rackspace_cloudfiles.yml.tpl', cloudfiles_config unless File.exist?(cloudfiles_config)
puts IO.read(File.join(File.dirname(__FILE__), 'README'))

0 comments on commit 8580c4e

Please sign in to comment.
Something went wrong with that request. Please try again.