summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-12-24 01:09:41 -0800
committerelijah <elijah@riseup.net>2013-12-24 01:09:41 -0800
commit314d6cce723558497165103658cbf013f1eb8e9a (patch)
tree8fe64a1c4ecec1bfefd2d3ac02402441974e8cc6
parent0a0fca60b3401d6c2888c98c7ca27b8bcb63d318 (diff)
ensure permissions are preserved when copying customization files. closes #4623
-rw-r--r--config/initializers/customization.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/customization.rb b/config/initializers/customization.rb
index bc9c834..76a2947 100644
--- a/config/initializers/customization.rb
+++ b/config/initializers/customization.rb
@@ -27,7 +27,7 @@ Rails.application.config.assets.paths.unshift "#{customization_directory}/styles
#
if !defined?(RAKE) && Dir.exists?("#{customization_directory}/public")
require 'fileutils'
- FileUtils.cp_r("#{customization_directory}/public/.", "#{Rails.root}/public")
+ FileUtils.cp_r("#{customization_directory}/public/.", "#{Rails.root}/public", :preserve => true)
end
#