lib/railsthemes/theme_installer.rb in railsthemes-1.1.1 vs lib/railsthemes/theme_installer.rb in railsthemes-1.1.2

- old
+ new

@@ -39,10 +39,10 @@ unless File.directory?(dest) logger.debug "mkdir -p #{dest}" FileUtils.mkdir_p(dest) end else - unless (dest =~ /railsthemes_.*_overrides\.*/ && File.exists?(dest)) || + unless (dest =~ /overrides\.css.*/ && File.exists?(dest)) || src =~ /\/\./ # remove any pesky hidden files that crept into the archive logger.debug "cp #{src} #{dest}" FileUtils.cp(src, dest) end end