workload_mapper/wordpress/setup/setup.rb.erb in machinery-tool-1.18.0 vs workload_mapper/wordpress/setup/setup.rb.erb in machinery-tool-1.19.0

- old
+ new

@@ -39,10 +39,10 @@ end end end puts "Setting up #{db_workload}" -if File.exists?("#{Dir.pwd}/#{db_workload}/data/configured.txt") +if File.exist?("#{Dir.pwd}/#{db_workload}/data/configured.txt") puts "Exiting as database has already been configured.\n" \ "If you want to re run the configuration just remove the files in #{Dir.pwd}/#{db_workload}/data/" exit 1 end