From 9c8d79a34737cc29085c595deaf29d0465cf5182 Mon Sep 17 00:00:00 2001 From: "Stephen M. Coakley" Date: Wed, 9 Nov 2016 10:30:41 -0600 Subject: [PATCH] Do not replace existing theme when installing (#435) Fix #274 --- bin/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/install b/bin/install index 564e4d2..43cf85e 100755 --- a/bin/install +++ b/bin/install @@ -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