mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-10-31 23:35:00 -04:00
Migrator: cloning the default configs into the current octopress installation directly
This commit is contained in:
parent
522f733ab6
commit
8c407231b8
@ -29,8 +29,9 @@ begin
|
||||
system "git clone #{OCTO_GIT} #{tmp_octo_dir}"
|
||||
|
||||
# Make local copy of octopress/sample-octopress-configuration
|
||||
system "git clone #{OCTO_CONFIG_GIT} #{TMP_OCTO_CONFIG}"
|
||||
FileUtils.rm_rf OCTO_CONFIG_DEST
|
||||
system "git clone #{OCTO_CONFIG_GIT} #{OCTO_CONFIG_DEST}"
|
||||
FileUtils.rm_rf File.join(OCTO_CONFIG_DEST, ".git")
|
||||
|
||||
# copy new theme to current directory
|
||||
FileUtils.rm_rf curr_octo_dir('.themes', 'classic')
|
||||
|
Loading…
Reference in New Issue
Block a user