bin/scms in scms-2.1.0 vs bin/scms in scms-2.1.1

- old
+ new

@@ -71,11 +71,12 @@ :config => (options[:configdir] or ENV["SCMS_CONFIG_FOLDER"] or website).to_path, :assets => File.join(root_folder, "assets") } if options[:action] == "create" - if Dir.exists? Folders[:website] - throw "Website already exists!!!" + if File.exists?(File.join(Folders[:website], "_config.yml")) + #if Dir.exists? Folders[:website] + "Website already exists!!!" else puts "Making website: #{Folders[:website]}" FileUtils.mkdir_p Folders[:website] FileUtils.cp_r(Dir["#{File.join(Folders[:assets], "blank-template")}/*"], Folders[:website]) end \ No newline at end of file