Do not replace existing theme when installing (#435)

Fix #274
This commit is contained in:
Stephen M. Coakley 2016-11-09 10:30:41 -06:00 committed by GitHub
parent a0811973f6
commit 9c8d79a347

View File

@ -394,7 +394,7 @@ function backup_file -a file_path
say "Existent $file found at $path"
say "↳ Moving to $backup_file"
if not command mv "$file_path" $backup_file 2>/dev/null
if not command cp "$file_path" $backup_file 2>/dev/null
abort "Could not backup $file_path"
end