diff --git a/lib/librarian/action/install.rb b/lib/librarian/action/install.rb index bea908bb..d3ad854c 100644 --- a/lib/librarian/action/install.rb +++ b/lib/librarian/action/install.rb @@ -40,7 +40,9 @@ def perform_installation end def create_install_path - install_path.rmtree if install_path.exist? + if install_path.exist? + FileUtils.rm_r install_path.children + end install_path.mkpath end