lib/napkin/cli.rb in napkin-0.0.3 vs lib/napkin/cli.rb in napkin-0.0.4
- old
+ new
@@ -19,10 +19,10 @@
case tool
when 'veronic'
bootstrap_file = options[:bootstrap_file] || '/etc/veronic/bootstrap/lifted-chef.erb'
FileUtils.mkdir_p(File.dirname(bootstrap_file))
- copy_file(File.basename(bootstrap_file), bootstrap_file)
+ copy_file(File.basename(bootstrap_file), bootstrap_file, :force => true)
else
puts "#{tool} is not a recognized tool!"
exit 1
end
end