Browse code

Rake task update_source now preserves footer as well as navigation

Brandon Mathis authored on 29/07/2011 at 02:12:50
Showing 1 changed files
... ...
@@ -150,6 +150,7 @@ task :update_source, :theme do |t, args|
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 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"
153 154
   puts "## Updated #{source_dir} ##"
154 155
 end
155 156