diff --git a/bin/installto.sh b/bin/installto.sh index caa7a9cee..ab080dc9a 100755 --- a/bin/installto.sh +++ b/bin/installto.sh @@ -88,6 +88,9 @@ if (strtolower($input) == 'y') { if (file_get_contents("$target_dir/$file.new") != file_get_contents("$target_dir/$file")) { echo "\n!! New $file file saved as $file.new !!"; } + else { + @unlink("$target_dir/$file.new"); + } } }