Skip to content

Commit

Permalink
adding a not_if for the install - again
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnathon Hornbeck authored and atmos committed Mar 22, 2010
1 parent 6ec40b4 commit a2a0fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbooks/mongodb/recipes/default.rb
Expand Up @@ -18,7 +18,7 @@
mv mongodb-linux-i686-0.9.5 /usr/local/mongodb &&
rm mongodb-linux-i686-0.9.5.tgz
}
not_if "/usr/local/mongodb"
not_if { File.directory?('/usr/local/mongodb') }
end

execute "add-to-path" do
Expand Down

0 comments on commit a2a0fc4

Please sign in to comment.