...
|
...
|
@@ -149,8 +149,7 @@ task :update_source, :theme do |t, args|
|
149
|
149
|
puts "moved #{source_dir} into #{source_dir}.old/"
|
150
|
150
|
system "mkdir -p #{source_dir}; cp -R #{themes_dir}/"+theme+"/source/. #{source_dir}"
|
151
|
151
|
system "cp -Rn #{source_dir}.old/. #{source_dir}"
|
152
|
|
- system "cp -f #{source_dir}.old/_includes/navigation.html #{source_dir}/_includes/navigation.html"
|
153
|
|
- system "cp -f #{source_dir}.old/_includes/footer.html #{source_dir}/_includes/footer.html"
|
|
152
|
+ system "cp -Rf #{source_dir}.old/_includes/custom/. #{source_dir}/_includes/custom/"
|
154
|
153
|
puts "## Updated #{source_dir} ##"
|
155
|
154
|
end
|
156
|
155
|
|