Do not replace existing theme when installing (#435)

Fix #274
pull/442/head
Stephen M. Coakley 8 years ago committed by GitHub
parent a0811973f6
commit 9c8d79a347

@ -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

Loading…
Cancel
Save