Commit 9c8d79a3 authored by Stephen M. Coakley's avatar Stephen M. Coakley Committed by GitHub

Do not replace existing theme when installing (#435)

Fix #274 
parent a0811973
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment