Skip to content

Commit

Permalink
Avoid removal of install_path directory
Browse files Browse the repository at this point in the history
This is a pull request for applicationsonline#151.
Removing the install_dir during each "librarian-chef install" breaks the shared folder of vagrant for at least the lxc and fusion provider.
  • Loading branch information
databus23 committed Apr 16, 2014
1 parent 3ef7002 commit 707acec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/librarian/action/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 707acec

Please sign in to comment.