migrate custom themes

This commit is contained in:
Parker Moore 2013-01-06 00:43:43 -05:00
parent d178a7a15a
commit 7fd48b9ef6
1 changed files with 3 additions and 0 deletions

View File

@ -77,6 +77,9 @@ begin
end
# migrate
# migrate custom themes
custom_themes = Dir.glob(old_octo_dir('.themes', '*')).delete_if { |theme| theme =~ /\.themes\/classic/ }
FileUtils.cp_r custom_themes, new_octo_dir('.themes')
# migrate Rakefile
FileUtils.mv old_octo_dir("Rakefile"), new_octo_dir("Rakefile-old")