Permalink
Browse files

Merge pull request #20 from se3000/master

Install textmate's application support directory as WS_USER instead of as root so that PlugIns can install
  • Loading branch information...
2 parents 3209bef + 10f235c commit 756f92f1dc4a0cbce6ac784b29fc1b6e75806a95 @pivotalcommon pivotalcommon committed Nov 16, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 recipes/textmate_bundles.rb
@@ -2,10 +2,10 @@
filename = "Pivotal.tmbundle"
tarfile = "#{filename}.tar.gz"
unless File.exists?("#{bundle_dir}/#{filename}")
- directory bundle_dir do
- action :create
- recursive true
- owner WS_USER
+ execute "make textmate bundles directory" do
+ command "mkdir -p '#{bundle_dir}'"
+ user WS_USER
+ not_if { File.exists?(bundle_dir) }
end
remote_file "#{bundle_dir}/#{tarfile}" do
@@ -15,4 +15,4 @@
end
execute "cd \"#{bundle_dir}\"; tar xzf #{tarfile}; rm #{tarfile}"
-end
+end

0 comments on commit 756f92f

Please sign in to comment.