Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Install textmate's application support directory as WS_USER instead o…

…f as root so that PlugIns can install
  • Loading branch information...
commit 10f235c66c367c097ffdcb6b12763b8a068e7ddd 1 parent 887429c
Steve Ellis authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 recipes/textmate_bundles.rb
View
10 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
Please sign in to comment.
Something went wrong with that request. Please try again.